sprintf(): different output on Windows and Linux

new topic     » topic index » view thread      » older message » newer message

sprintf("%03s", {"62"})

on Windows: "062"
on Linux:   " 62" (a blank space instead of zero)

Why? It's supposed to produce the same output on both, isn't it?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu