coder prix entier

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #172381 quote
    bobo
    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_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
    bobo
    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.

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 bobo
4 years, 8 months ago.

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