Fonction round ne fonctionne pas ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #87118 quote
    Blondin
    Participant
    Junior

    bonjour,

     

    je m’aperçois que la fonction round dont je me sers pour arrondir à 1 décimale dans 2 indicateurs perso ne fonctionne pas sur ma plateforme.

    je termine par :

    return round(haussier*10)/10 as"hausse", round(baissier*10)/10 as"baisse"

     

    est-ce que vous confirmez de votre côté ?

     

    cdt

    #87123 quote
    robertogozzi
    Moderator
    Master

    Cela fonctionne parfaitement, arrondit toujours le plus proche, mais les zéros non significatifs restent à droite.
    Ce comportement ne peut PAS être changé!

    x-6.jpg x-6.jpg
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Fonction round ne fonctionne pas ?


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Blondin @blondin Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
7 years, 2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/14/2018
Status: Active
Attachments: 1 files
Logo Logo
Loading...