Deluge - Quarter Inches - Remove Leading Zero

Deluge - Quarter Inches - Remove Leading Zero


I am taking an API reading that is in total inches.  I am converting to Feet, Inches, and Quarter Inches.

I'm using the following code to round the quarter inches to (.25, .50, and .75)

// Routine to Check for Quarter Inches
vNumber2 = vTotalInches * 4;
vNumber2 = vNumber2.round(0);
vQuarterInches = vNumber2 / 4;
vTotalInches = vTotalInches.toNumber();
vQuarterInches = vQuarterInches - vTotalInches;

However, it is giving me 0.75 and 0.50

How can I remove leading the zero so I can just use decimal?

.25, .50, and .75?


    Zoho Pagesense Resources

        Zoho SalesIQ Resources

              Zoho TeamInbox Resources

                Zoho DataPrep Resources

                    Zoho CRM Plus Resources

                      Zoho Books Resources

                        Zoho Subscriptions Resources

                          Zoho Desk Resources

                            Zoho Projects Resources

                              Zoho Sprints Resources

                                Qntrl Resources

                                  Zoho Creator Resources

                                    Zoho WorkDrive Resources

                                        Zoho Campaigns Resources

                                          Zoho CRM Resources

                                                      Design. Discuss. Deliver.

                                                      Create visually engaging stories with Zoho Show.

                                                      Get Started Now