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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
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