FixedPointDecimal Class

Summary: Fixed-point decimal, with 16-bit integer and 16-bit fraction.

Module: aspose.psd.fileformats.psd.resources

Full Name: aspose.psd.fileformats.psd.resources.FixedPointDecimal

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
FixedPointDecimal(integer, fraction)Initializes a new instance of the FixedPointDecimal class.
FixedPointDecimal(value)Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number.
FixedPointDecimal(value)Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number.

Properties

NameTypeAccessDescription
fractionintr/wGets or sets the fraction.
integerintr/wGets or sets the integer.

Methods

NameDescription
to_double()Converts current fixed point decimal to double.

Constructor: FixedPointDecimal(integer, fraction)

 FixedPointDecimal(integer, fraction) 

Initializes a new instance of the FixedPointDecimal class.

Parameters:

ParameterTypeDescription
integerintThe integer.
fractionintThe fraction.

Constructor: FixedPointDecimal(value)

 FixedPointDecimal(value) 

Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number.

Parameters:

ParameterTypeDescription
valuelongThe value.

Constructor: FixedPointDecimal(value)

 FixedPointDecimal(value) 

Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number.

Parameters:

ParameterTypeDescription
valuedoubleThe value.

Method: to_double()

 to_double() 

Converts current fixed point decimal to double.

Returns

TypeDescription
doubleThe converted value.