absolutevalue/ja: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
(No difference)

Latest revision as of 23:59, 14 March 2023

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  • 日本語  • 한국어