Top "Comma" questions

Comma ',' is used to indicate a separation of elements within a list, such as an array, or parameters accepted by a function.

Removing last comma from a foreach loop

Im using a foreach loop to echo out some values from my database and seperating each of them by commas …

php loops foreach comma
How can I set the decimal separator to be a comma?

I would like to read and write pi as 3,141592 instead of 3.141592, as using the comma is common in many European …

c++ formatting iostream comma decimal-point
MatPlotLib Dollar Sign with Thousands Comma Tick Labels

Given the following bar chart: import numpy as np import matplotlib.pyplot as plt import pandas as pd df = pd.…

python-3.x matplotlib comma display dollar-sign
Replace comma and dot in Pandas

I have a Column with data like 3.4500,00 EUR. Now I want to compare this with another column having float numbers …

python pandas decimal comma euro
Write a string containing commas and double quotes to CSV

I'm trying to produce a Google Shopping feed of 30,000+ items in NetSuite, a CRM system that runs server-side JavaScript that …

javascript csv comma double-quotes suitescript2.0
Cannot work out a php str_replace() to remove comma

In a PHP project, I have: $string = "1,555"; str_replace(',', '', $string); echo $string; //is still 1,555 str_replace does …

php string str-replace comma
Swift playground - How to convert a string with comma to a string with decimal

I'm new in the Swift world. How can I converting a String with a comma to a String with a …

swift string comma swift-playground
How to remove commas from ALL the column in pandas at once

I have a data frame where all the columns are supposed to be numbers. While reading it, some of them …

python string pandas replace comma
Decimals and commas when entering a number into a Ruby on Rails form

What's the best Ruby/Rails way to allow users to use decimals or commas when entering a number into a …

ruby-on-rails ruby-on-rails-3 decimal biginteger comma
Comma and (decimal) point: Do they need different handling?

Just something that i was wondering about. In Europe the comma us mostly used for decimals (like 20,001) but outside Europe …

c# point comma