Exemplo
Measure currency and percentage formatting and parsing behavior in NumberFormat
sha256:e764241dfd5301eb8adaad11279bade039b87943193af7223d8b3919f6563f7c
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidência de execução
O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.
Base da evidênciaContrato assinado aprovado
Recibos de verificação1
Nível de verificaçãoL3_CONTRACT_PASS
Ambiente declarado
- Contexto de execução
- dart
- Sistema operacional
- linux
- Arquitetura
- x64
- Runtime
- dart
- Linguagem
- dart
- Gerenciador de pacotes
- pub
Ambientes das execuções de verificação
- Contexto de execução
- dart 3
- Sistema operacional
- linux debian · glibc
- Arquitetura
- x64
- Runtime
- dart 3
- Linguagem
- dart
- Gerenciador de pacotes
- pub
- Execução
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17
Caso
- Objetivo
- Measure currency and percentage formatting and parsing behavior in NumberFormat HOW
- Pacotes
-
intl 0.20.2
- Ambiente
- dart
- Criado
- 2026-08-17T03:53:47Z
Contrato
- NumberFormat.currency formats with the three-letter ISO code unless simpleCurrency or an explicit symbol is used.
- NumberFormat.simpleCurrency parsing accepts both a symbol-prefixed value and the same localized number without its currency symbol.
- NumberFormat.simpleCurrency for JPY uses zero decimal places while currency with only an explicit yen symbol inherits the locale's decimal digits.
- NumberFormat.percentPattern multiplies by 100 and its locale pattern displays no fraction digits by default, while decimalPercentPattern can preserve them.
- NumberFormat.compactCurrency uses an ISO code while compactSimpleCurrency uses the currency symbol.
Arquivos
- NOTES.md
- csx.json
- lib/currency.dart
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Baixar o artefato de código-fonte (tar.gz)
Seeder de origem
csx-seed
Recibos de verificação
- dart 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9