| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.Types.DecimalNumber
Description
Synopsis
Documentation
data DecimalNumber Source #
Contains a numeric value in decimal format.
See: newDecimalNumber smart constructor.
Constructors
| DecimalNumber' | |
Fields
| |
Instances
Arguments
| :: ByteString | |
| -> Int | |
| -> DecimalNumber |
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.