Skip to content

API Docs - v1.1.0

Unitconversion

MmTokm (Function)

This converts the input given in megameters into kilometers.

Syntax

<DOUBLE> unitconversion:MmTokm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from megameters into kilometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMegametreToKilometreStream (inValue int); 
from UnitConversionForMegametreToKilometreStream 
select unitconversion:MmTokm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in megameters from 'UnitConversionForMegametreToKilometreStream' input stream is converted into kilometers and returned to the 'OutMediationStream' output stream.

cmToft (Function)

This converts the input given in centimeters into feet.

Syntax

<DOUBLE> unitconversion:cmToft(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into feet. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToFootStream (inValue int); 
from UnitConversionForCentimetreToFootStream 
select unitconversion:cmToft(inValue) as UnitConversionValue 
insert into OutMediationStream;

The centimeter values received from 'UnitConversionForCentimetreToFootStream' input stream is converted into feet and returned to the 'OutMediationStream' output stream.

cmToin (Function)

This converts the input given in centimeters into inches.

Syntax

<DOUBLE> unitconversion:cmToin(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into inches. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToInchStream (inValue int); 
from UnitConversionForCentimetreToInchStream 
select unitconversion:cmToin(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in centimeters obtained from 'UnitConversionForCentimetreToInchStream' input stream, is converted into inches and returned to the 'OutMediationStream' output stream.

cmTokm (Function)

This converts the input value given in centimeters into kilometers.

Syntax

<DOUBLE> unitconversion:cmTokm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into kilometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToKilometreStream (inValue int); 
from UnitConversionForCentimetreToKilometreStream 
select unitconversion:cmTokm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value obtained from 'UnitConversionForCentimetreToKilometreStream' input stream in centimeters, is converted into kilometers and returned to the 'OutMediationStream' output stream.

cmTom (Function)

This converts the input given in centimeters into meters.

Syntax

<DOUBLE> unitconversion:cmTom(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into meters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToMeterStream (inValue int); 
from UnitConversionForCentimetreToMeterStream 
select unitconversion:cmTom(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in centimeters obtained from 'UnitConversionForCentimetreToMeterStream'input stream is converted into meters and returned to the 'OutMediationStream' output stream.

cmTomi (Function)

This converts the input given in centimeters into miles.

Syntax

<DOUBLE> unitconversion:cmTomi(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into miles. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToMileStream (inValue int); 
from UnitConversionForCentimetreToMileStream 
select unitconversion:cmTomi(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in centimeters obtained from 'UnitConversionForCentimetreToMileStream' input stream is converted into miles and returned to the 'OutMediationStream' output stream.

cmTomm (Function)

This converts the input given in centimeters into millimeters.

Syntax

<DOUBLE> unitconversion:cmTomm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into millimeters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToMillimetreStream (inValue int); 
from UnitConversionForCentimetreToMillimetreStream 
select unitconversion:cmTomm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in centimeters obtained from 'UnitConversionForCentimetreToMillimetreStream' input stream is converted into millimeters and returned to the 'OutMediationStream' output stream.

cmTonm (Function)

This converts the input given in centimeters into nanometers.

Syntax

<DOUBLE> unitconversion:cmTonm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into nanometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToNanometreStream (inValue int); 
from UnitConversionForCentimetreToNanometreStream 
select unitconversion:cmTonm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The values in centimeters obtained from 'UnitConversionForCentimetreToNanometreStream' input stream is converted into nanometers and returned to the 'OutMediationStream' output stream.

cmToum (Function)

This converts the input in centimeters into micrometers.

Syntax

<DOUBLE> unitconversion:cmToum(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into micrometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToMicrometreStream (inValue int); 
from UnitConversionForCentimetreToMicrometreStream 
select unitconversion:cmToum(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in centimeter obtained from 'UnitConversionForCentimetreToMicrometreStream' input stream is converted into micrometers and returned to the 'OutMediationStream' output stream.

cmToyd (Function)

This converts the input given in centimeters into yards.

Syntax

<DOUBLE> unitconversion:cmToyd(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from centimeters into yards. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCentimetreToYardStream (inValue int); 
from UnitConversionForCentimetreToYardStream 
select unitconversion:cmToyd(inValue) as UnitConversionValue 
insert into OutMediationStream;

The values in centimeters obtained from 'UnitConversionForCentimetreToYardStream' is converted into yards and returned to the 'OutMediationStream' output stream.

dToh (Function)

This converts the input given in days into hours.

Syntax

<DOUBLE> unitconversion:dToh(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from days into hours. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForDayToHourStream (inValue int); 
from UnitConversionForDayToHourStream 
select unitconversion:dToh(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in days from 'UnitConversionForDayToHourStream' is converted into hours and returned to the 'OutMediationStream'.

gTokg (Function)

This converts the input given in grams into kilograms.

Syntax

<DOUBLE> unitconversion:gTokg(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from grams into kilograms. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForGramToKilogramStream (inValue int); 
from UnitConversionForGramToKilogramStream 
select unitconversion:gTokg(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in grams from 'UnitConversionForGramToKilogramStream' input stream is converted into kilograms and returned to the 'OutMediationStream' output stream.

gTomg (Function)

This converts the input given in grams into milligrams.

Syntax

<DOUBLE> unitconversion:gTomg(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from grams into milligrams. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForGramToMilligramStream (inValue int); 
from UnitConversionForGramToMilligramStream 
select unitconversion:gTomg(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in grams from 'UnitConversionForGramToMilligramStream' input stream is converted into milligrams and returned to the 'OutMediationStream' output stream.

gToug (Function)

This converts the input given in grams into micrograms.

Syntax

<DOUBLE> unitconversion:gToug(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from grams into micrograms. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForGramToMicrogramStream (inValue int); 
from UnitConversionForGramToMicrogramStream 
select unitconversion:gToug(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in grams from 'UnitConversionForGramToMicrogramStream' input stream is converted into micrograms and returned to the 'OutMediationStream' output stream.

hTom (Function)

This converts the input given in hours into minutes.

Syntax

<DOUBLE> unitconversion:hTom(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from hours into minutes. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForHourToMinuteStream (inValue int); 
from UnitConversionForHourToMinuteStream 
select unitconversion:hTom(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in hours from 'UnitConversionForHourToMinuteStream' input stream isconverted into minutes and returned to the 'OutMediationStream' output stream.

hTos (Function)

This converts the input given in hours into seconds.

Syntax

<DOUBLE> unitconversion:hTos(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from hours into seconds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForHourToSecondStream (inValue int); 
from UnitConversionForHourToSecondStream 
select unitconversion:hTos(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in hours from 'UnitConversionForHourToSecondStream' input stream is converted into seconds and returned to the 'OutMediationStream' output stream.

kgToLT (Function)

This converts the input given in kilograms into imperial tons.

Syntax

<DOUBLE> unitconversion:kgToLT(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into imperial tons. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToImperialTonStream (inValue int); 
from UnitConversionForKilogramToImperialTonStream 
select unitconversion:kgToLT(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToImperialTonStream' input stream is converted into imperial tons and returned to the 'OutMediationStream' output stream.

kgToST (Function)

This converts the input given in kilograms into US tons.

Syntax

<DOUBLE> unitconversion:kgToST(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into US tons. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToUSTonStream (inValue int); 
from UnitConversionForKilogramToUSTonStream 
select unitconversion:kgToST(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToUSTonStream' input stream is converted into US tons and returned to the 'OutMediationStream' output stream.

kgTog (Function)

This converts the input given in kilograms into grams.

Syntax

<DOUBLE> unitconversion:kgTog(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into grams. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToGramStream (inValue int); 
from UnitConversionForKilogramToGramStream 
select unitconversion:kgTog(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToGramStream' input stream is converted into grams and returned to the 'OutMediationStream' output stream.

kgTolb (Function)

This converts the input given in kilograms into pounds.

Syntax

<DOUBLE> unitconversion:kgTolb(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into pounds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToPoundStream (inValue int); 
from UnitConversionForKilogramToPoundStream 
select unitconversion:kgTolb(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToPoundStream' input stream is converted into pounds and returned to the 'OutMediationStream' output stream.

kgTooz (Function)

This converts the input given in kilograms into ounces.

Syntax

<DOUBLE> unitconversion:kgTooz(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into ounces. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToOunceStream (inValue int); 
from UnitConversionForKilogramToOunceStream 
select unitconversion:kgTooz(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToOunceStream' input stream is converted into ounces and returned to the 'OutMediationStream' output stream.

kgTost (Function)

This converts the input given in kilograms into imperial stones.

Syntax

<DOUBLE> unitconversion:kgTost(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into imperial stones. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToStonemStream (inValue int); 
from UnitConversionForKilogramToStonemStream 
select unitconversion:kgTost(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToStonemStream' input stream is converted into imperial stones and returned to the 'OutMediationStream' output stream.

kgTot (Function)

This converts the input given in kilograms into tonnes.

Syntax

<DOUBLE> unitconversion:kgTot(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilograms into tonnes. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilogramToTonneStream (inValue int); 
from UnitConversionForKilogramToTonneStream 
select unitconversion:kgTot(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilograms from 'UnitConversionForKilogramToTonneStream' input stream is converted into tonnes and returned to the 'OutMediationStream' output stream.

kmTocm (Function)

This converts the input given in kilometers into centimeters.

Syntax

<DOUBLE> unitconversion:kmTocm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into centimeters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToCentimetreStream (inValue int); 
from UnitConversionForKilometreToCentimetreStream 
select unitconversion:kmTocm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The values in kilometers obtained from 'UnitConversionForKilometreToCentimetreStream'input stream is converted into centimeters and returned to the 'OutMediationStream' outputstream.

kmToft (Function)

This converts the input given in kilometers into feet.

Syntax

<DOUBLE> unitconversion:kmToft(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into feet. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToFootStream (inValue int); 
from UnitConversionForKilometreToFootStream 
select unitconversion:kmToft(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToFootStream' input stream is converted into feet and returned to the 'OutMediationStream' output stream.

kmToin (Function)

This converts the input given in kilometers into inches.

Syntax

<DOUBLE> unitconversion:kmToin(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into inches. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToInchStream (inValue int); 
from UnitConversionForKilometreToInchStream 
select unitconversion:kmToin(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToInchStream' input stream is converted into inches and returned to the 'OutMediationStream' output stream.

kmTom (Function)

This converts the input given in kilometers into meters.

Syntax

<DOUBLE> unitconversion:kmTom(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into meters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToMetreStream (inValue int); 
from UnitConversionForKilometreToMetreStream 
select unitconversion:kmTom(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToMetreStream'input stream is converted into meters and returned to the 'OutMediationStream' output stream.

kmTomi (Function)

This converts the input given in kilometers into miles.

Syntax

<DOUBLE> unitconversion:kmTomi(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into miles. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToMileStream (inValue int); 
from UnitConversionForKilometreToMileStream 
select unitconversion:kmTomi(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToMileStream' input stream is converted into miles and returned to the 'OutMediationStream' output stream.

kmTomm (Function)

This converts the input given in kilometers into millimeters.

Syntax

<DOUBLE> unitconversion:kmTomm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into millimeters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToMillimetreStream (inValue int); 
from UnitConversionForKilometreToMillimetreStream 
select unitconversion:kmTomm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToMillimetreStream'input stream is converted into millimeters and returned to the 'OutMediationStream' output stream.

kmTonm (Function)

This converts the input given in kilometers into nanometers.

Syntax

<DOUBLE> unitconversion:kmTonm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into nanometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToNanometreStream (inValue int); 
from UnitConversionForKilometreToNanometreStream 
select unitconversion:kmTonm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToNanometreStream'input stream is converted into nanometers and returned to the 'OutMediationStream' output stream.

kmToum (Function)

This converts the input given in kilometers into micrometers.

Syntax

<DOUBLE> unitconversion:kmToum(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into micrometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToMicrometreStream (inValue int); 
from UnitConversionForKilometreToMicrometreStream 
select unitconversion:kmToum(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers obtained from 'UnitConversionForKilometreToMicrometreStream'input stream is converted into micrometers and returned to the 'OutMediationStream'output stream.

kmToyd (Function)

This converts the input given in kilometers into yards.

Syntax

<DOUBLE> unitconversion:kmToyd(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from kilometers into yards. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForKilometreToYardStream (inValue int); 
from UnitConversionForKilometreToYardStream 
select unitconversion:kmToyd(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in kilometers from 'UnitConversionForKilometreToYardStream' input streamis converted into yards and returned to the 'OutMediationStream' output stream.

lTom3 (Function)

This converts the input given in liters into cubic meters.

Syntax

<DOUBLE> unitconversion:lTom3(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from liters into cubic meters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForLitreToCubicmetreStream (inValue int); 
from UnitConversionForLitreToCubicmetreStream 
select unitconversion:lTom3(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in liters from 'UnitConversionForLitreToCubicmetreStream' input stream is converted into cubic meters and returned to the 'OutMediationStream' output stream.

lToml (Function)

This converts the input given in liters into milliliters.

Syntax

<DOUBLE> unitconversion:lToml(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from liters into milliliters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForLitreToMillilitreStream (inValue int); 
from UnitConversionForLitreToMillilitreStream 
select unitconversion:lToml(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in liters from 'UnitConversionForLitreToMillilitreStream' input stream is converted into milliliters and returned to the 'OutMediationStream' output stream.

m3Tol (Function)

This converts the input given in cubic meters into liters.

Syntax

<DOUBLE> unitconversion:m3Tol(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from meters into liters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForCubicmetreToLitreStream (inValue int); 
from UnitConversionForCubicmetreToLitreStream 
select unitconversion:m3Tol(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in cubic meters from 'UnitConversionForCubicmetreToLitreStream' input streamis converted into liters and returned to the 'OutMediationStream' output stream.

mTocm (Function)

This converts the input given in meters into centimeters.

Syntax

<DOUBLE> unitconversion:mTocm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from meters into centimeters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMetreToCentimetreStream (inValue int); 
from UnitConversionForMetreToCentimetreStream 
select unitconversion:mTocm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in meters from 'UnitConversionForMetreToCentimetreStream' input stream is converted to centimeters and returned to the 'OutMediationStream' output stream.

mToft (Function)

This converts the input given in meters into feet.

Syntax

<DOUBLE> unitconversion:mToft(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from meters into feet. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMetreToFootStream (inValue int); 
from UnitConversionForMetreToFootStream 
select unitconversion:mToft(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in meters from 'UnitConversionForMetreToFootStream' input stream is converted into feet and returned to the 'OutMediationStream' output stream.

mTomm (Function)

This converts the input given in meters into millimeters.

Syntax

<DOUBLE> unitconversion:mTomm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from meters into millimeters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMetreToMillimetreStream (inValue int); 
from UnitConversionForMetreToMillimetreStream 
select unitconversion:mTomm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in meters from 'UnitConversionForMetreToMillimetreStream' input streamis converted into millimeters and returned to the 'OutMediationStream' output stream.

mTos (Function)

This converts the input given in minutes into seconds.

Syntax

<DOUBLE> unitconversion:mTos(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from minutes into seconds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMinuteToSecondStream (inValue int); 
from UnitConversionForMinuteToSecondStream 
select unitconversion:mTos(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in minutes from 'UnitConversionForMinuteToSecondStream' input stream is converted into seconds and returned to the 'OutMediationStream' output stream.

mToyd (Function)

This converts the input given in meters into yards.

Syntax

<DOUBLE> unitconversion:mToyd(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from meters into yards. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMetreToYardStream (inValue int); 
from UnitConversionForMetreToYardStream 
select unitconversion:mToyd(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in meters from 'UnitConversionForMetreToYardStream' input stream is converted into yards and returned to the 'OutMediationStream' output stream.

miTokm (Function)

This converts the input given in miles into kilometers.

Syntax

<DOUBLE> unitconversion:miTokm(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from miles into kilometers. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMileToKilometreStream (inValue int); 
from UnitConversionForMileToKilometreStream 
select unitconversion:miTokm(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in miles from 'UnitConversionForMileToKilometreStream' input stream is converted into kilometers and returned to the 'OutMediationStream' output stream.

mlTol (Function)

This converts the input given in milliliters into liters.

Syntax

<DOUBLE> unitconversion:mlTol(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from milliliters into liters. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForMillilitreToLitreStream (inValue int); 
from UnitConversionForMillilitreToLitreStream 
select unitconversion:mlTol(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in milliliters from 'UnitConversionForMillilitreToLitreStream' input stream is converted into liters and returned to the 'OutMediationStream' output stream.

sToms (Function)

This converts the input given in seconds into milliseconds.

Syntax

<DOUBLE> unitconversion:sToms(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from seconds into milliseconds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForSecondToMillisecondStream (inValue int); 
from UnitConversionForSecondToMillisecondStream 
select unitconversion:sToms(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in seconds from 'UnitConversionForSecondToMillisecondStream' input stream is converted into milliseconds and returned to the 'OutMediationStream' output stream.

sTons (Function)

This converts the input given in seconds into nanoseconds.

Syntax

<DOUBLE> unitconversion:sTons(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from seconds into nanoseconds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForSecondToNanosecondStream (inValue int); 
from UnitConversionForSecondToNanosecondStream 
select unitconversion:sTons(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in seconds from 'UnitConversionForSecondToNanosecondStream' input stream is converted into nanoseconds and returned to the 'OutMediationStream' output stream.

sTous (Function)

This converts the input given in seconds into microseconds.

Syntax

<DOUBLE> unitconversion:sTous(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from seconds into microseconds. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForSecondToMicrosecondStream (inValue int); 
from UnitConversionForSecondToMicrosecondStream 
select unitconversion:sTous(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in seconds from 'UnitConversionForSecondToMicrosecondStream' input stream is converted into microseconds and returned to the 'OutMediationStream' output stream.

tTog (Function)

This converts the input given in tonnes into grams.

Syntax

<DOUBLE> unitconversion:tTog(<INT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from Tonnes into grams. INT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForTonneToGramStream (inValue int); 
from UnitConversionForTonneToGramStream 
select unitconversion:tTog(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in tonnes from 'UnitConversionForTonneToGramStream' input stream is converted into grams and returned to the 'OutMediationStream' output stream.

tTokg (Function)

This converts the input given in tonnes into kilograms.

Syntax

<DOUBLE> unitconversion:tTokg(<INT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from tonnes into kilograms. INT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForTonneToKilogramStream (inValue int); 
from UnitConversionForTonneToKilogramStream 
select unitconversion:tTokg(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in tonnes from 'UnitConversionForTonneToKilogramStream' input stream is converted into kilograms and returned to the 'OutMediationStream' output stream.

yTod (Function)

This converts the given input in years into days.

Syntax

<DOUBLE> unitconversion:yTod(<INT|LONG|FLOAT|DOUBLE> p1)

QUERY PARAMETERS

Name Description Default Value Possible Data Types Optional Dynamic
p1 The value that needs to be converted from years into days. INT
LONG
FLOAT
DOUBLE
No No

Examples EXAMPLE 1

define stream UnitConversionForYearToDayStream (inValue int); 
from UnitConversionForYearToDayStream 
select unitconversion:yTod(inValue) as UnitConversionValue 
insert into OutMediationStream;

The value in years from 'UnitConversionForYearToDayStream' input stream is converted into days and returned to the 'OutMediationStream' output stream.