Guest User

Untitled

a guest
Aug 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. C printf with %f but localized for the user's country
  2. printf("%.2f", 1.5);
  3.  
  4. #include <locale.h>
  5. setlocale(LC_ALL, ".OCP");
Add Comment
Please, Sign In to add comment