Difference between revisions of "LlFabs/ja"
< LlFabs
Jump to navigation
Jump to search
Asuka Neely (talk | contribs) m |
(Update translation) |
||
Line 3: | Line 3: | ||
|func_id=7|func_sleep=0.0|func_energy=10.0 | |func_id=7|func_sleep=0.0|func_energy=10.0 | ||
|func_footnote | |func_footnote | ||
|p1_type=float|p1_name=val|p1_desc= | |p1_type=float|p1_name=val|p1_desc=何らかの有効なfloat値 | ||
|return_type=float | |return_type=float | ||
|return_text='''val''' | |return_text='''val'''の絶対値 | ||
|spec | |spec | ||
|caveats | |caveats | ||
Line 14: | Line 14: | ||
state_entry() | state_entry() | ||
{ | { | ||
llSay(0,"The (Float)absolute value of -4.5 is: "+(string)llFabs(-4.5) ); | llSay(0,"The (Float)absolute value of -4.5 is: " | ||
+(string)llFabs(-4.5) ); | |||
} | } | ||
} | } | ||
Line 21: | Line 22: | ||
</lsl> | </lsl> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow|| | |also_functions={{LSL DefineRow||{{LSLG/ja|llAbs}}|llFabsの{{LSLG/ja|integer}}版}} | ||
|also_events | |also_events | ||
|also_articles={{LSL DefineRow||{{Wikipedia| | |also_articles={{LSL DefineRow||{{Wikipedia|1=絶対値|lang=ja}}|}} | ||
|notes | |notes | ||
|cat1=Math | |cat1=Math |
Revision as of 07:26, 26 April 2009
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
サンプル
<lsl> default {
state_entry() { llSay(0,"The (Float)absolute value of -4.5 is: " +(string)llFabs(-4.5) ); }
} // returns : // The (Float)absolute value of -4.5 is: 4.500000
</lsl>特記事項
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。