Returns a number value from the given {0}. If the given {0} is null , Number.From returns null . If the given {0} is number ...

Returns a number value from the given {0}. If the given {0} is null, Number.From returns null.  If the given {0} is number, {0} is returned. Values of the following types can be converted to a number value:
      
  • text: A number value from textual representation. Common text formats are handled ("15", "3,423.10", "5.0E-10"). See Number.FromText for details.
  • logical: 1 for true, 0 for false.
  • datetime: A double-precision floating-point number that contains an OLE Automation date equivalent.
  • datetimezone: A double-precision floating-point number that contains an OLE Automation date equivalent of the local date and time of {0}.
  • date: A double-precision floating-point number that contains an OLE Automation date equivalent.
  • time: Expressed in fractional days.
  • duration: Expressed in whole and fractional days.
If {0} is of any other type, an error is returned.