ARRONDIR A LA DIZAINE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #170052 quote
    turameturame
    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_BywanJC_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
    turameturame
    Participant
    Master

    Nickel merci

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 turameturame
5 years, 4 months ago.

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