Click or drag to resize

MassExtensionsGrams Method

Creates a new Mass measured in grams

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public static Mass Grams(
	this double value
)

Parameters

value  Double
The number of grams

Return Value

Mass
A Mass

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also