HomePhabricator

Replace std::to_string with locale-independent alternative

Description

Replace std::to_string with locale-independent alternative

Summary:

std::to_string relies on the current locale for formatting purposes

This is a backport of Core PR18134 and PR17851

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien, majcosta

Reviewed By: #bitcoin_abc, Fabien, majcosta

Subscribers: majcosta, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8878

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Jan 12 2021, 16:00
PiRKCommitted on Jan 12 2021, 16:01
abc-botPushed on Jan 12 2021, 16:05
Reviewer
Restricted Project
Differential Revision
D8878: Replace std::to_string with locale-independent alternative
Parents
rABC6a46b5411203: util: Fail to parse space-only strings in ParseMoney(...) (instead of parsing…
Branches
Unknown
Tags
Unknown