Returns a 8-bit integer number value from the given {0}. If the given {0} is null , Byte.From returns null . If the given ...

Returns a 8-bit integer number value from the given {0}. If the given {0} is null, Byte.From returns null.  If the given {0} is number within the range of 8-bit integer without a fractional part, {0} is returned. If it has fractional part, then the number is rounded with the rounding mode specified. The default rounding mode is RoundingMode.ToEven. If the given {0} is of any other type, see Number.FromText for converting it to number value, then the previous statement about converting number value to 8-bit integer number value applies.See Number.Round for the available rounding modes.