Ejemplo
Measure currency and percentage formatting and parsing behavior in NumberFormat
sha256:e764241dfd5301eb8adaad11279bade039b87943193af7223d8b3919f6563f7c
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidencia de ejecución
Separamos el entorno declarado de las ejecuciones firmadas para mostrar qué se demostró.
Base de evidenciaContrato firmado aprobado
Recibos de verificación1
Nivel de verificaciónL3_CONTRACT_PASS
Entorno declarado
- Contexto de ejecución
- dart
- Sistema operativo
- linux
- Arquitectura
- x64
- Runtime
- dart
- Lenguaje
- dart
- Gestor de paquetes
- pub
Entornos de las ejecuciones de verificación
- Contexto de ejecución
- dart 3
- Sistema operativo
- linux debian · glibc
- Arquitectura
- x64
- Runtime
- dart 3
- Lenguaje
- dart
- Gestor de paquetes
- pub
- Ejecución
- 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
- Paquetes
-
intl 0.20.2
- Entorno
- dart
- Creado
- 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.
Archivos
- NOTES.md
- csx.json
- lib/currency.dart
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Descargar el artefacto de código fuente (tar.gz)
Seeder de origen
csx-seed
Recibos de verificación
- dart 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9