ashishsmith
Programmer
I want to do this:
convert 3.1425 to 3.14. I know we can output it with the use of set precision but i want to store the value so that it can be used for further calculations.
Say like arr=3.1425
and I want to multiply or plug arr's value in the function with arr=3.14 (rounded off). How can I do this.
Thank you,
Ashish Smith
convert 3.1425 to 3.14. I know we can output it with the use of set precision but i want to store the value so that it can be used for further calculations.
Say like arr=3.1425
and I want to multiply or plug arr's value in the function with arr=3.14 (rounded off). How can I do this.
Thank you,
Ashish Smith