A
A
Alexander Fedoruk2017-12-15 14:57:30
Solid State Drives
Alexander Fedoruk, 2017-12-15 14:57:30

How to alebraically round in Python3.6?

Hi, I need to round a number in Python3 with algebraic rounding (not bank rounding, which is the default in Python3).
Simply put, I need:

round(0.5)
1
round(0.6)
1
round(0.4)
0

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
moropsk, 2019-10-04
@moropsk

Samsung

A
Artem @Jump, 2019-10-04
Tag curated by

No difference.
Purely at the level of preferences - which color is more in harmony with the system unit, take it.

D
Dimonchik, 2019-10-04
@dimonchik2013

see here https://3dnews.ru/938764/page-3.html
marvell vs MJX

N
nApoBo3, 2019-10-04
@nApoBo3

https://3dnews.ru/978776/page-2.html
Here is a comparison of your drives.
In short, for samsung, while the data gets into the SLC cache, everything is not bad, but if there is a lot of data or if there is a random read, then it sags very much.
Both drives are quite slow compared to the fastest models. Plus, samsung qlc has memory, such a memory organization will probably be noticeably slower than mlc, plus these are the first drives on such memory, there may be reliability problems.

A
Azim Kurt, 2017-12-15
@AlexSaFF

Use search.
How to round 2.5 to 3 in python?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question