Aller au contenu principal

Text String Formatting - doesn't work if formula is used

Commentaires

2 commentaires

  • Ryan Cooney

    Hi Nataliya,

     

    Your format string {0:0.00%} is correct. What is happening is your denominator is being treated as an integer, so the result of the division is also an integer. This will always be 0 in your case.

     

    The solution is to change your denominator to 427154.0 which will allow the math to happen using floating point numbers.

    0
  • Permanently deleted user

    Hi Ryan,

     

    Thank you very much for a quick respond. That solved my problem.

    0

Vous devez vous connecter pour laisser un commentaire.