Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main(void)
- {
- float test = 00.75;
- long value ;
- value = (long)(test*100);
- char buffer[ ] = {0,0,0,0};
- sprintf(buffer, "%d", value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement