HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file data.DecUtil by barry
expand copy to clipboardexpand
/*
{ "description" : "Convert between decimal fractions and strings."}
*/

interface DecUtil{
	/*
	{ "@description" : "Convert a decimal fraction to a string.", "@deprecated" : true, "@deprecatedBy" : "makeString", "@deprecatedOn" : "2020/01/01"}
	*/
	char[] decToString(dec i)
	
	/*
	{ "@description" : "Convert a string to a decimal fraction."}
	*/
	dec decFromString(char s[])
	
	/*
	{ "@description" : "Convert a decimal fraction to a string."}
	*/
	char[] makeString(dec i, opt int decimalPlaces)
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n data.DecUtil -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation