Difference between revisions of "LlCeil/ja"

From Second Life Wiki
Jump to navigation Jump to search
m (カテゴリ変更)
m (Undo revision 851542 by Mako Nozaki (Talk))
Line 26: Line 26:
{{LSL DefineRow||{{LSLG/ja|llFloor}}|負の方向のintegerの値へ、floatの値を切り捨てます。}}
{{LSL DefineRow||{{LSLG/ja|llFloor}}|負の方向のintegerの値へ、floatの値を切り捨てます。}}
|notes
|notes
|cat1=Math/ja
|cat1=Math
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 05:19, 12 April 2010

要約

関数: integer llCeil( float val );

正方向へ val を切り上げた整数を integer で返します。

• float val 何らかの有効なfloat値

戻り値は val の値以上になります

サンプル

<lsl> default {

  state_entry()
  {
      llSay(0,"The ceil value of -4.5 is: "+(string)llCeil(-4.5) );
  }

}

</lsl>

関連項目

関数

•  llRound 一番近い整数値へ、floatの値を四捨五入します。
•  llFloor 負の方向のintegerの値へ、floatの値を切り捨てます。

特記事項

Search JIRA for related Issues

Signature

function integer llCeil( float val );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。