Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
0

I Given %2.4f to variable a and %6.2f to variable b but output coming more digts than %w before decimal , why it's happening

https://www.sololearn.com/post/142417/?ref=app

inputformattingfloat
30th Aug 2019, 2:46 PM
Mr. Nothing
Mr. Nothing - avatar
2 odpowiedzi
+ 1
%w does not cut numbers
30th Aug 2019, 10:09 PM
Kireii
Kireii - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
Anyone Learning Godot?
1 Votes
hello world i need help
2 Votes
Any easy game ideas for beginners?
0 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
How many courses are there on Sololearn
1 Votes
help string permutation
0 Votes
hi
1 Votes
Which databases are the best at injecting dynamic data within websites, and how can you achieve it?
0 Votes