Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
str() with float an i18n
#1
as we know, some places use '.' and some places use ',' to separate the whole part of a number from the fractional part of a number. my curiosity question is whether the str() function uses the local preference, or if it just uses '.' everywhere.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
str() with float an i18n - by Skaperen - Dec-24-2018, 06:23 PM
RE: str() with float an i18n - by Larz60+ - Dec-25-2018, 10:51 AM
RE: str() with float an i18n - by Skaperen - Dec-25-2018, 06:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python calculate float plus float is incorrect? sirocawa 6 309 Apr-16-2024, 01:45 PM
Last Post: DeaD_EyE
  Comaparing Float Values of Dictionary Against A Float Value & Pick Matching Key firebird 2 3,398 Jul-25-2019, 11:32 PM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020