Gemstone Common Library
Show/Hide TOC

# MassFromTons Method

Creates a new Mass value from the specified value in short tons.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
C#
View Source Request Example

    public static Mass FromTons(
    	double value
    )

VB
View Source Request Example

    Public Shared Function FromTons (
    	value As Double
    ) As Mass

C++
View Source Request Example

    public:
    static Mass FromTons(
    	double value
    )

JavaScript
View Source Request Example

    Gemstone.Units.Mass.FromTons = function(value);

#### Parameters

value Double
  New Mass value in short tons.

#### Return Value

Mass
New Mass object from the specified value in short tons.

## See Also

#### Reference

Mass Structure
Gemstone.Units Namespace