Difference between revisions of "LlCeil/fr"

From Second Life Wiki
Jump to navigation Jump to search
(Localized to french)
 
m (Oops)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|func_id=10|func_sleep=0.0|func_energy=10.0
|func_id=10|func_sleep=0.0|func_energy=10.0
|func_footnote
|func_footnote
|p1_type=float|p1_name=val|p1_desc=N’importe quel float
|p1_type=float|p1_name=val|p1_desc=N’importe quel float valide
|return_type=integer
|return_type=integer
|return_text=correspondant à l’arrondi supérieur de '''val''' (>= val).
|return_text=correspondant à l’arrondi supérieur de '''val''' (plus grand ou égal à '''val''').
|spec
|spec
|caveats
|caveats
Line 13: Line 13:
   state_entry()
   state_entry()
   {
   {
       llSay(0,"L’arrondi supérieur de -4.5 est : "+(string)llCeil(-4.5) );
       llSay(0, "L’arrondi supérieur de -4.5 est : " + (string) llCeil(-4.5) );
   }
   }
}
}

Latest revision as of 12:23, 6 April 2008

Description

Fonction: integer llCeil( float val );

Renvoie un integer correspondant à l’arrondi supérieur de val (plus grand ou égal à val).

• float val N’importe quel float valide

Exemples

<lsl> default {

  state_entry()
  {
      llSay(0, "L’arrondi supérieur de -4.5 est : " + (string) llCeil(-4.5) );
  }

} </lsl>

Voir également

Fonctions

•  llRound Renvoie un arrondi à l'entier le plus proche
•  llFloor Renvoie un arrondi inférieur
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.