Access keys

NumberUtil

Kind of class: class
Inherits from: none
Version: 11/24/06
Author: Aaron Clinger, David Nelson
Classpath: org.casaframework.util.NumberUtil
File last modified: Wednesday, 24 January 2007, 21:45:40

Class methods

addLeadingZero

static function addLeadingZero (
num:Number) : String

createStepsBetween

static function createStepsBetween (
begin:Number, end:Number, steps:Number) : Array

format

static function format (
numberToFormat:Number, minLength:Number, thouDelim:String, fillChar:String) : String

isBetween

static function isBetween (
num:Number, val1:Number, val2:Number) : Boolean

isEven

static function isEven (
num:Number) : Boolean

isInteger

static function isInteger (
num:Number) : Boolean

isOdd

static function isOdd (
num:Number) : Boolean

makeBetween

static function makeBetween (
num:Number, val1:Number, val2:Number) : Number

max

static function max (
val1:Number, val2:Number) : Number

min

static function min (
val1:Number, val2:Number) : Number

randomInteger

static function randomInteger (
min:Number, max:Number) : Number

roundToPlace

static function roundToPlace (
num:Number, place:Number) : Number