Difference between revisions of "LlFabs/ja"

From Second Life Wiki
Jump to navigation Jump to search
m (カテゴリ変更)
m
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
|caveats
|caveats
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 20: Line 20:
// returns :
// returns :
// The (Float)absolute value of -4.5 is: 4.500000
// The (Float)absolute value of -4.5 is: 4.500000
</lsl>
</source>
|helpers
|helpers
|also_functions={{LSL DefineRow||{{LSLG/ja|llAbs}}|llFabsの{{LSLG/ja|integer}}版}}
|also_functions={{LSL DefineRow||{{LSLG/ja|llAbs}}|llFabsの{{LSLG/ja|integer}}版}}
Line 26: Line 26:
|also_articles={{LSL DefineRow||{{Wikipedia|1=絶対値|lang=ja}}|}}
|also_articles={{LSL DefineRow||{{Wikipedia|1=絶対値|lang=ja}}|}}
|notes
|notes
|cat1=Math/ja
|cat1=Math
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 07:10, 18 December 2015

要約

関数: float llFabs( float val );

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

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

サンプル

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

関連項目

関数

•  llAbs llFabsのinteger

記事

•  "Wikipedia logo"絶対値

特記事項

Search JIRA for related Issues

Signature

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