I am taking an API reading that is in total inches. I am converting to Feet, Inches, and Quarter Inches.
// 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?
Thanks