Click or drag to resize
PicoXLSX

MetadataParseVersion Method

Method to parse a common version (major.minor.revision.build) into the compatible format (major.minor). The minimum value is 0.0 and the maximum value is 99999.99999
The minor, revision and build number are joined if possible. If the number is too long, the additional characters will be removed from the right side down to five characters (e.g. 785563 will be 78556)

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
public static string ParseVersion(
	int major,
	int minor,
	int build,
	int revision
)

Parameters

major  Int32
Major number from 0 to 99999.
minor  Int32
Minor number.
build  Int32
Build number.
revision  Int32
Revision number.

Return Value

String
Formatted version number (e.g. 1.0 or 55.987).
See Also