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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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