ARRONDIR A LA DIZAINE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #170052 quote
    turame
    Participant
    Master

    Bonjour à tous,

    Quelqu’un saurait-il par hasard s’il est possible d’arrondir une valeur à la dizaine (inférieure et supérieure) ? Et si oui comment ?

    J’ai essayé avec les fonction ROUND, CEIL et FLOOR mais sans résultat.

    Merci d’avance

    #170095 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    même astuce que dans cet ancien post: https://www.prorealcode.com/topic/round-the-numbers/

    mais avec un  N = -1  pour gérer la dizaine au lieu des rangs après la virgule, autrement dit:

    Arrondidizaine=round(x/10)*10
    #170096 quote
    turame
    Participant
    Master

    Nickel merci

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

ARRONDIR A LA DIZAINE


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
turame @turame Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by turame
4 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/20/2021
Status: Active
Attachments: No files
Logo Logo
Loading...