Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 23rd, 2017
56
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
import math
def round_up(floating_number, power=2):
return math.ceil(floating_number*(10**power)) / (10**power)
x = 1
y = 6
result = x/y
print(round_up(result,8))
Add Comment
Please,
Sign In
to add comment
Public Pastes
ДЗ Локальные максимумы
C# | 18 min ago | 1.37 KB
Untitled
Rust | 36 min ago | 4.74 KB
Untitled
C++ | 44 min ago | 5.09 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
multi_queue
Python | 59 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
llama 3 70B sample
Swift | 1 hour ago | 6.14 KB
Untitled
C++ | 1 hour ago | 3.71 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!