Mis à jour : 2025-03-28
La fonction round() vous permet d'arrondir un nombre au chiffre le plus proche. Ajoutez la fonction format() à n'importe quel code de champ numérique pour l'afficher sous forme de devise.
Code | Résultat |
---|---|
{{CurrentClient.T1.NetIncome.M[28]}} | 2 180,89 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],00))}} | 2 181,00 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],01))}} | 2 180,90 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],02))}} | 2 180,89 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],-1))}} | 2 180,00 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],-2))}} | 2 200,00 $ |
${{format(round(CurrentClient.T1.NetIncome.M[28],-3))}} | 2 000,00 $ |