Click or drag to resize
mpq_t  Conversion (String to mpq_t)
Converts a string value to an mpq_t value.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static implicit operator mpq_t (
	string value
)

Parameters

value
Type: SystemString
A string value.

Return Value

Type: mpq_t
An mpq_t value.
Remarks

The leading characters are used: 0x and 0X for hexadecimal, 0b and 0B for binary, 0 for octal, or decimal otherwise. Note that this is done separately for the numerator and denominator, so for instance 0xEF/100 is 239/100, whereas 0xEF/0x100 is 239/256.

See Also