absolutevalue/ja

From RPTools Wiki
Revision as of 12:43, 31 July 2021 by Fourwoods (talk | contribs) (Created page with "{{Languages|absolutevalue}}{{Translation}} {{MacroFunction |name=absolutevalue |description=<!--Returns the absolute value of a number. The absolute value of a number is the n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Languages:  English  • 日本語  • 한국어


absolutevalue() Function

数値の絶対値を返す。数値の絶対値とは、符号を除いた数値のことである。

Usage

[h: val = absolutevalue(num)]
[r: absolutevalue(-3)]

戻り値:

3

正の数

[r: abs(4)]

戻り値:

4

十進数

[r: abs(3.4)]

戻り値:

3.4

Languages:  English  • 日本語  • 한국어