LlFloor/fr

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Fonction: integer llFloor( float val );

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

Fonctions

•  llRound Renvoie l’arrondi le plus proche
•  llCeil Renvoie l’arrondi supérieur.
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.