Limit Decimals on Calculations

Forums ProRealTime English forum ProBuilder support Limit Decimals on Calculations

Viewing 2 posts - 1 through 2 (of 2 total)
  • #56229

    Hello!

    I wonder if there  is any command to limit decimals to say 2 decimals (0,00). Currently im stuck between using Round which gives a whole number or leave the calculation which results in 5 decimals.

    Im working on an ATR based indicator which return “how many ATRs” price is currently away from a specific line and therefore it would be preferable to have at least 2 decimals that can return like 2,50 ATR etc instead of rounding it to 3.

     

    Thanks

    #56247

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login