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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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