from_number# classmethod Quantity.from_number(number, /)# Convert real number to a floating-point number.