Skip to main content

In-Person Payments

Decimal.h

Last updated: 14-Aug-2024

namespace VerifoneSdk

class DecimalParser : public VerifoneSdk::IDecimalParser

Public Functions

virtual VerifoneSdk::Decimal *Parse(System::String *value)
virtual VerifoneSdk::Decimal * FromDecimal (System::Decimal% net_decimal)
interface IDecimal

  • Subclassed by VerifoneSdk::sealed

Public Functions

void set(int32_t scale)
void set(int64_t value)
virtual System::String *ToString(const int display_precision)
virtual System::String *ToString()

Public Members

property int32_t Scale
property int64_t Value
interface IDecimalParser

  • Subclassed by VerifoneSdk::DecimalParser

Public Functions

virtual VerifoneSdk::Decimal *Parse(System::String *value)
virtual VerifoneSdk::Decimal * FromDecimal (System::Decimal% net_decimal)
class sealed : public VerifoneSdk::IDecimal, public VerifoneSdk::VerifoneCliBase<verifone_sdk::DeviceScannerInterface>, public VerifoneSdk::VerifoneCliBase<verifone_sdk::PaymentSdkInterface>, private VerifoneSdk::IPaymentSdk, public verifone_sdk::PlatformContextInterface, public VerifoneSdk::IReceiptTypeToReceiptMap, private VerifoneSdk::ComMap<ReceiptType, Receipt*>, public VerifoneSdk::IStringToDecimalMap, private VerifoneSdk::ComMap<String*, Decimal*>, public VerifoneSdk::IStringToStringMap, private VerifoneSdk::ComMap<String*, String*>

Public Functions

Decimal(int32_t scale, int64_t value)
Decimal(int64_t value)
inline Decimal()
inline  Decimal (Decimal% decimal)
virtual System::String *ToString(const int display_precision)
virtual System::String *ToString() override
System::Decimal ToDecimal()

Public Members

property int32_t DefaultPrecision
int64_t value_

Public Static Functions

static Decimal *Parse(System::String *value)
static Decimal * FromDecimal (System::Decimal% net_decimal)

Public Static Attributes

static int64_t value_stat

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo