hgvprint
Forum Replies Created
-
Hi sorry, may i know how to change a long decimal into 2 decimal places ?
I try to do like this but it didnt work..(# var Height=data.uni_nov_cpo_change_height_to_feet;
if (Height){#}
(Height.toFixed(2)ft {#}#)Ok thanks you very much ^^ its working fine
I try to create unit conversion using radio button, dynamic notice [ every input(number) should be change to ft(feet) ] literally following the video
input(number)-> radio button( cm, inch, m, ft)-> output(ft)
example in dynamic notice:
Height :data.uni_cpo_height_testdata.uni_cpo_unit(data.uni_nov_cpo_change_height_to_feetft)uni_cpo_height_test -> any number for height
uni_cpo_unit -> radio button to choose the unit of the input (cm, m, inch, ft)
uni_nov_cpo_change_height_to_feet -> a NOV i create to convert unit to ftAll works fine except when i choose uni_cpo_unit(inch)
It should be 100inch = 8.33 ft but i got 3.28ft instead, how do i fix this ?Hi, already did it but the unit conversion for inch convert to ft didnt give the correct ouput.
For example, 100 inch supposedly i got 8.33 ft but it give wrong answer.