Difference between revisions of "LlFloor/fr"
< LlFloor
Jump to navigation
Jump to search
Gally Young (talk | contribs) (Localized to french) |
m (Forgot this one) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|func_id=9|func_sleep=0.0|func_energy=10.0 | |func_id=9|func_sleep=0.0|func_energy=10.0 | ||
|func_footnote | |func_footnote | ||
|p1_type=float|p1_name=val|p1_desc=N’importe quel | |p1_type=float|p1_name=val|p1_desc=N’importe quel nombre en virgule flottante | ||
|return_type=integer | |return_type=integer | ||
|return_text=correspondant à | |return_text=correspondant à l'arrondi inférieur de '''val''' (<= '''val'''). | ||
|spec | |spec | ||
|caveats | |caveats | ||
Line 12: | Line 12: | ||
state_entry() | state_entry() | ||
{ | { | ||
llSay(0," | llSay(0, "La partie entière de -4.5 est : " + (string) llFloor(-4.5) ); | ||
} | } | ||
}</lsl> | }</lsl> |
Latest revision as of 13:06, 8 May 2008
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: integer llFloor( float val );9 | N° de fonction |
0.0 | Delais |
10.0 | Energie |
Renvoie un integer correspondant à l'arrondi inférieur de val (<= val).
• float | val | – | N’importe quel nombre en virgule flottante |
Exemples
<lsl>default {
state_entry() { llSay(0, "La partie entière de -4.5 est : " + (string) llFloor(-4.5) ); }
}</lsl>
Voir également
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.