Changes

Jump to navigation Jump to search
21 bytes removed ,  10:16, 9 March 2023
m
Text replacement - "<br />" to "<br/>"
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:integer-to-base|$number as xs:integer, $base as xs:integer|xs:string}}<br />
|- valign="top"
| '''Summary'''
|Converts {{Code|$number}} to a string, using the specified {{Code|$base}}, interpreting it as a 64-bit unsigned integer.<br />The first base elements of the sequence {{Code|'0',..,'9','a',..,'z'}} are used as digits.<br />Valid bases are {{Code|2, .., 36}}.<br />
|- valign="top"
| '''Errors'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:integer-from-base|$string as xs:string, $base as xs:integer|xs:integer}}<br />
|- valign="top"
| '''Summary'''
|Decodes an integer from {{Code|$string}}, using the specified {{Code|$base}}.<br /> The first base elements of the sequence {{Code|'0',..,'9','a',..,'z'}} are allowed as digits; case does not matter. <br />Valid bases are 2 - 36.<br /> If the supplied string contains more than 64 bits of information, the result will be truncated.
|- valign="top"
| '''Errors'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:integer-to-dateTime|$milliseconds as xs:integer|xs:dateTime}}<br />
|- valign="top"
| '''Summary'''
|Converts the specified number of {{Code|$milliseconds}} since 1 Jan 1970 to an item of type xs:dateTime.<br />
|- valign="top"
| '''Examples'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:dateTime-to-integer|$dateTime as xs:dateTime|xs:integer}}<br />
|- valign="top"
| '''Summary'''
|Converts the specified {{Code|$dateTime}} item to the number of milliseconds since 1 Jan 1970.<br />
|- valign="top"
| '''Examples'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:integer-to-dayTime|$milliseconds as xs:integer|xs:dayTimeDuration}}<br />
|- valign="top"
| '''Summary'''
|Converts the specified number of {{Code|$milliseconds}} to an item of type xs:dayTimeDuration.<br />
|- valign="top"
| '''Examples'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:dayTime-to-integer|$dayTime as xs:dayTimeDuration|xs:integer}}<br />
|- valign="top"
| '''Summary'''
|Converts the specified {{Code|$dayTime}} duration to milliseconds represented by an integer.<br />
|- valign="top"
| '''Examples'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:encode-key|$key as xs:string|xs:string}}<br />{{Func|convert:encode-key|$key as xs:string, $lax as xs:boolean|xs:string}}<br />
|- valign="top"
| '''Summary'''
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|convert:decode-key|$key as xs:string|xs:string}}<br />{{Func|convert:decode-key|$key as xs:string, $lax as xs:boolean|xs:string}}<br />
|- valign="top"
| '''Summary'''
|Decodes the specified {{Code|$key}} (with the optional {{Code|$lax}} conversion method) to the original string representation.<br />Keys supplied to this function are usually element names from documents that have been created with the [[JSON Module]] or [[CSV Module]].
|- valign="top"
| '''Examples'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu