Difference between revisions of "LlFabs/ja"

From Second Life Wiki
Jump to navigation Jump to search
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=いずれかの有効なfloatの値
|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||[[llAbs/ja|llAbs]]|llFabの[[integer/ja|integer]]版}}
|also_functions={{LSL DefineRow||{{LSLG/ja|llAbs}}|llFabsの{{LSLG/ja|integer}}版}}
|also_events
|also_events
|also_articles={{LSL DefineRow||{{Wikipedia|Absolute_value}}|}}
|also_articles={{LSL DefineRow||{{Wikipedia|1=絶対値|lang=ja}}|}}
|notes
|notes
|cat1=Math
|cat1=Math

Revision as of 07:26, 26 April 2009

要約

関数: float llFabs( float val );

valの絶対値を float で返します。

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

サンプル

<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>

関連項目

関数

•  llAbs llFabsのinteger

記事

•  "Wikipedia logo"絶対値

特記事項

Search JIRA for related Issues

Signature

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