Gemstone Common Library
Show/Hide TOC

# MassFromOunces Method

Creates a new Mass value from the specified value in ounces (avoirdupois).

## Definition

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

    public static Mass FromOunces(
    	double value
    )

VB
View Source Request Example

    Public Shared Function FromOunces (
    	value As Double
    ) As Mass

C++
View Source Request Example

    public:
    static Mass FromOunces(
    	double value
    )

JavaScript
View Source Request Example

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

#### Parameters

value Double
  New Mass value in ounces.

#### Return Value

Mass
New Mass object from the specified value in ounces.

## See Also

#### Reference

Mass Structure
Gemstone.Units Namespace