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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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