coulomb.syntax
package coulomb.syntax
Members list
Concise view
Extensions
Extensions
extension [V](v: V)
Lift a raw value into a delta-unit quantity
Lift a raw value into a delta-unit quantity
Attributes
- B
base unit to anchor with
- U
the desired unit type
- Returns:
a DeltaQuantity with given value and unit type
val date = (1.0).withDeltaUnit[Day, Second]
- Source:
- deltaquantity.scala