Найти
-
Пользователи
Полная версия:
Умножение дробных чисел
Начало
»
Python для новичков
»
Умножение дробных чисел
1
2
PooH
Март 14, 2011 17:40:05
Используйте дельту
d=0.001
x=3.14*10
y=31.4
print abs(x-y) < d
размер дельты определятся задачей
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Powered by
DjangoBB