ScientificValue
A Value in a given ScientificUnit
Type Parameters
the type of PhysicalQuantity of the unit
the type of ScientificUnit this value represents
Inheritors
Properties
Returns the value of a ScientificValue with PhysicalQuantity.Dimensionless as a fraction. I.e.
Functions
Converts a ScientificValue into a DefaultScientificValue with an AbstractScientificUnit of the same PhysicalQuantity
Converts a ScientificValue into another ScientificValue with a ScientificUnit of the same PhysicalQuantity
Converts ScientificValue.value into the equivalent Decimal in TargetUnit
Creates a DefaultScientificValue equal to the ScientificValue.value divided by value
Divides the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a Value equal to the ScientificValue.value divided by value
Creates a DefaultScientificValue equal to the ScientificValue.value decreased by value
Subtracts the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a Value equal to the ScientificValue.value decreased by value
Creates a DefaultScientificValue equal to the ScientificValue.value increased by value
Creates a DefaultScientificArray in Unit by adding a ScientificArray to this ScientificValue This will convert the values right into Unit
Adds the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a Value equal to the ScientificValue.value increased by value
Splits a ScientificValue of ValueUnit into a DefaultScientificValue of ValueUnit and DefaultScientificValue of RightUnit so that left and right together are equal to the original value. Splitting happens by rounding the ValueUnit down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a DefaultScientificValue of LeftUnit and DefaultScientificValue of RightUnit so that left and right together are equal to the original value. Splitting happens by converting the ValueUnit to LeftUnit and then rounding down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a LeftValue and RightValue so that left and right together are equal to the original value. Splitting happens by rounding the ValueUnit down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a LeftValue and RightValue so that left and right together are equal to the original value. Splitting happens by converting the ValueUnit to LeftUnit and then rounding down to scale and returning it and the remainder converted to RightUnit.
Creates a DefaultScientificValue equal to the ScientificValue.value multiplied by value
Multiplies the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a Value equal to the ScientificValue.value multiplied by value
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree, UnitFour and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree and so on.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree, UnitFour, UnitFive and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree and so on.
Gets the String representation of a ScientificValue using a ScientificValueFormatter