Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data DecimalNumber Source #
Contains a numeric value in decimal format.
See: newDecimalNumber
smart constructor.
DecimalNumber' | |
|
Instances
Create a value of DecimalNumber
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unscaledValue:DecimalNumber'
, decimalNumber_unscaledValue
- The unscaled numeric value.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:scale:DecimalNumber'
, decimalNumber_scale
- The scale that determines where the decimal point falls in the unscaled
value.
decimalNumber_unscaledValue :: Lens' DecimalNumber ByteString Source #
The unscaled numeric value.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
decimalNumber_scale :: Lens' DecimalNumber Int Source #
The scale that determines where the decimal point falls in the unscaled value.