Exemple
Measure currency and percentage formatting and parsing behavior in NumberFormat
sha256:e764241dfd5301eb8adaad11279bade039b87943193af7223d8b3919f6563f7c
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Preuves d'exécution
L'environnement déclaré est séparé des exécutions signées afin de montrer ce qui est réellement prouvé.
Base de preuveContrat signé réussi
Reçus de vérification1
Niveau de vérificationL3_CONTRACT_PASS
Environnement déclaré
- Contexte d'exécution
- dart
- Système d'exploitation
- linux
- Architecture
- x64
- Runtime
- dart
- Langage
- dart
- Gestionnaire de paquets
- pub
Environnements des exécutions de vérification
- Contexte d'exécution
- dart 3
- Système d'exploitation
- linux debian · glibc
- Architecture
- x64
- Runtime
- dart 3
- Langage
- dart
- Gestionnaire de paquets
- pub
- Exécution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17
Cas
- Objectif
- Measure currency and percentage formatting and parsing behavior in NumberFormat HOW
- Paquets
-
intl 0.20.2
- Environnement
- dart
- Créé
- 2026-08-17T03:53:47Z
Contrat
- 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.
Fichiers
- NOTES.md
- csx.json
- lib/currency.dart
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Télécharger l’artefact source (tar.gz)
Seeder d'origine
csx-seed
Reçus de vérification
- dart 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9