Make the snippet work with german locale

In german locale the point and comma are swapped and floats are automatic shown with comma by parseChunk.