Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Redondeo a la décima más cercana.
Miquel_Fuster
Oct 16th, 2021
(
edited
)
536
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
#include <math.h>
int
main
(
)
{
float
f
=
4.45
;
printf
(
"%f
\n
"
,
f
)
;
f
=
round
(
f
*
10
)
/
10
;
printf
(
"%f
\n
"
,
f
)
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Dynamic AntiHGF Timer
Lua | 1 hour ago | 11.58 KB
reactor_gui
Lua | 1 hour ago | 3.03 KB
Chess Function canBeCaptured
Java | 2 hours ago | 1.75 KB
Deberesdemates.lua
Lua | 3 hours ago | 19.53 KB
Longest Substring Without Repeating Character...
Java | 4 hours ago | 3.03 KB
Top K Frequent Elements - LeetCode
Java | 4 hours ago | 1.97 KB
Two Sum - LeetCode
Java | 4 hours ago | 3.22 KB
"AudioManager.gd" v1
GDScript | 4 hours ago | 6.31 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!