Skip to main content

Timeline for Calculate a tip

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Jun 26, 2014 at 8:30 history edited Rift CC BY-SA 3.0
added 62 characters in body
Jun 26, 2014 at 7:40 comment added plannapus You can shorten seq(0,x,len=6) to seq(0,x,l=6) thanks to arguments partial matching.
Mar 13, 2014 at 13:42 history edited Rift CC BY-SA 3.0
Added rounding
Mar 13, 2014 at 13:35 comment added Rift @n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ Ok I need to update my answer as soon as I'm at home.
Mar 13, 2014 at 13:20 comment added n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ @Rift: I have tested several answers (mostly Python, JS and Perl, since they are easily available) and most of them do rounding. None of those I have tested rounds up, though.
Mar 13, 2014 at 13:11 comment added Rift @n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ you are right (but most solutions aren't rounding anything). 9 extra characters would do "normal" rounding. Only rounding up would be way harder...
Mar 13, 2014 at 12:02 comment added n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ Your solution doesn't do any rounding.
Mar 12, 2014 at 20:35 history edited Rift CC BY-SA 3.0
added 12 characters in body
Mar 12, 2014 at 20:27 comment added Rift @Michael updated my answer to explain the code
Mar 12, 2014 at 20:26 history edited Rift CC BY-SA 3.0
added 264 characters in body
Mar 12, 2014 at 18:50 comment added Michael M. Wait... what ? Please give more details of how it works for those (like me) who don't know R.
Mar 12, 2014 at 14:52 history edited Rift CC BY-SA 3.0
deleted 36 characters in body
Mar 12, 2014 at 14:44 review First posts
Mar 12, 2014 at 14:46
Mar 12, 2014 at 14:26 history answered Rift CC BY-SA 3.0