Python Forum
Rounding without using Python embedded functions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rounding without using Python embedded functions
#1
Good day,

So I am working on an assignment that calculates the position and velocity of an object at any given time. I get float(input) from the user on 3 data points as well as the time they wish to calculate to. My issue is we are assigned to truncate the calculation to 3 decimal places without using any built in functions of Python(i.e. round, print...). I have been looking for a couple days now and have not been able to find any examples of doing this manually.

if anyone could help I would greatly appreciate it. This is the last step I need to program and it is holding me up.

Thanks for your help.
Reply


Messages In This Thread
Rounding without using Python embedded functions - by NewCoder - Sep-05-2018, 09:55 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020