lundi 10 mai 2021

Is there any way to return from a function, a float value with fixed number of decimal places? [duplicate]

We can use set precision to print a fixed number of decimals, but is there any way to return a decimal with a fixed number of decimal places?

Aucun commentaire:

Enregistrer un commentaire