Why this result ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Why this result ?

Return value is 1. Why ? The string is '12,34' (with a coma, not dot) Thanks https://code.sololearn.com/wM6Fy2Yhy775/?ref=app

6th Dec 2018, 1:35 PM
S K Lurk //\ā—ā—/\\
S K Lurk //\ā—ā—/\\ - avatar
1 Resposta
+ 6
you need a '\' before '.' because it matches any character https://www.sololearn.com/learn/9670/?ref=app
6th Dec 2018, 2:43 PM
Mert Yazıcı
Mert Yazıcı - avatar