I'd like to know how to take a price (let's say a MA calculated) and round the number to 2 or 3 decimals.
Since, the MA will have more decimals, I need a function to drop the extra decimals but not make it an integer of course...
45.3258922 => 45.33
thanks
Since, the MA will have more decimals, I need a function to drop the extra decimals but not make it an integer of course...
45.3258922 => 45.33
thanks
Comment