Extended Systems OneBridge 4.1 Uživatelská příručka Strana 189

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 222
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 188
APPENDIX A Function Reference
Users Guide 175
uPow, uPower
Description Returns the value of a base expression taken to a specified power.
Syntax number uPow(value)
Parameters
number value
A number to calculate on.
Examples
uPow(10, 3) ;; returns "1000"
uRandom
Description Returns a random number greater than or equal to zero and smaller than one.
Syntax number uRandom(value)
Parameters
number input
A number to calculate on.
Examples To return a random number:
uRandom() // returns "0.696654639123727”
uRound
Description Returns the rounded argument to nearest integer. If the second optional
parameter is set,
uRound preserves the specified number of digits behind the
decimal point.
Syntax number uRound(value, scale)
Parameters
number value
A number to calculate on.
number scale
Number of digits.
Examples To round numbers:
uRound(10.1) // returns "10"
uRound(10.49) // returns "10"
uRound(10.5) // returns "11"
Zobrazit stránku 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 221 222

Komentáře k této Příručce

Žádné komentáře