bin:pack-float

Returns the 4-octet binary representation of a float value.

pack-float($in as xs:float) ➔ xs:base64Binary

Arguments

 

$in

xs:float

The value to pack

Result

xs:base64Binary

pack-float($in as xs:float, $octet-order as xs:string) ➔ xs:base64Binary

Arguments

 

$in

xs:float

The value to pack

 

$octet-order

xs:string

The order (most/least significant first) in which to pack or unpack octets

Result

xs:base64Binary

Namespace

http://expath.org/ns/binary

Links to specifications

EXPath Binary Module