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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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