coder prix entier

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #172381 quote
    bobobobo
    Participant
    Average

    Bonjour à tous, je cherche à coder les prix entiers (18.00, 57.00, ….par exemple) c’est à dire un prix dont la première décimale et la seconde soit égale à 0.

    Est ce possible?

    Si oui, merçi par avance

    #172506 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour, “coder un prix entier”? S’il s’agit de rendre un prix entier:

    variableprixentier=round(close)

    Mais s’il s’agit de vérifier qu’un prix est un entier:

    booleenprixentier= (close=round(close))
    #172509 quote
    bobobobo
    Participant
    Average

    Merçi beaucoup pour la réponse.
    Cordialement.

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

coder prix entier


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobo @bobo Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by bobobobo
5 years, 2 months ago.

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