Number Format

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " This function is an Advanced Text function in the UBot Extended Library. This command places commas into numbers to make the numbers readable. '''Number to Format:''' Nu...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
  
This function is an [[Advanced Text]] function in the UBot Extended Library. This command places commas into numbers to make the numbers readable.
+
This function is an [[Advanced Text]] function in the UBot Extended Library. This function places commas into numbers to make the numbers readable.
  
 
'''Number to Format:''' Number who's format is being edited. Can also be a variable, list item, table cell or a function.
 
'''Number to Format:''' Number who's format is being edited. Can also be a variable, list item, table cell or a function.
Line 12: Line 12:
  
  
Running the [[alert]] command will bring up a random number produced by the [[Rand]] function, which is then properly formatted with commas
+
Running the [[alert]] command will bring up a random number produced by the [[Rand]] function, which is then properly formatted with commas.
  
  
 
[[File:numfor.jpg]]
 
[[File:numfor.jpg]]

Latest revision as of 16:12, 14 June 2015

This function is an Advanced Text function in the UBot Extended Library. This function places commas into numbers to make the numbers readable.

Number to Format: Number who's format is being edited. Can also be a variable, list item, table cell or a function.

[edit] Example


alert($number format($rand(20000,400000)))


Running the alert command will bring up a random number produced by the Rand function, which is then properly formatted with commas.


Numfor.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox