Module:Number/doc
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
This is the documentation page for Module:Number
Module:Number is required by Module:ChangePerDay.
Module:Number is required by Module:ExchangeDefault.
This module is a helper module to be used by other modules; it may not be designed to be invoked directly. See Near-Reality:Lua/Helper modules for a full list and more information.
| Module | Function | Type | Use | 
|---|---|---|---|
| Number | _round(num, dp) | float, int | Rounds numto a precision given bydp, ifdpis not specified, it defaults to zero. Rounds half up. | 
| _short(str) | String | Convert numbers ending in k, m or b to the actual correct number. Example: 3.5k -> 3500 | 
