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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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