I would like to get the fractional part i.e., digits after the decimal point in a float value without using any built in functions.
if float x=20.158;
i want to store 158 in other variable.
NOTE: should not use built in functions in java.
Thanks in Advance.
if float x=20.158;
i want to store 158 in other variable.
NOTE: should not use built in functions in java.
Thanks in Advance.
Comment