One decimal place in MT5

 

How to only use the first decimal place in a calculation without rounding up

For example

0.9864693728 = 0.9

 
Robert JenkinsHow to only use the first decimal place in a calculation without rounding up. For example, 0.9864693728 = 0.9
  1. Multiply by 10
  2. Find the "floor" value
  3. Divide by 10
 

Thank you for your reply

0.9864693728 * 10 = 9.864693728

floor = 9

9 / 10 = 0.9

:)