Logo GenPRES

ValueUnit Module

Creates the shared value with unit record from values, a unit, a unit group, whether the unit is written in short form, as mg, or in long form, as milligram, a language and a JSON text.

Functions and values

Function or value Description

create v u g s l j

Full Usage: create v u g s l j

Parameters:
    v : (string * decimal)[]
    u : string
    g : string
    s : bool
    l : string
    j : string

Returns: ValueUnit

Creates a ValueUnit record of the shared types.

v : (string * decimal)[]
u : string
g : string
s : bool
l : string
j : string
Returns: ValueUnit

Type something to start searching.