Répondre à : Position caractère dans chaîne de texte Accueil › Forums › Programmation WIMS › Programmation d’exercices OEF › Position caractère dans chaîne de texte › Répondre à : Position caractère dans chaîne de texte 23 octobre 2015 à 08:01 #3140 jm.eversParticipant Up0Down:: Hi, You could use ‘moneyprint’ for printing a number with n decimals (default is 2 decimals) \text{A = 1} \text{m = wims(exec moneyprint \A )} \m = 1.00 if you want n decimals use \integer{n = 4} \text{m = wims(exec moneyprint \A \n )} \m = 1.0000 hope this helps, Joke