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.3+c820fb107cc06ae187946bad43db42d71f6faf1c
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