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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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