• Post Reply Bookmark Topic Watch Topic
  • New Topic

if < 0 then 0  RSS feed

 
Ranch Hand
Posts: 212
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I allways thought there should be a func for that, like there is abs. Is there ?
If not, can this be done shorter ?
 
Ranch Hand
Posts: 781
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<please ignore my pathetic response>
 
Saloon Keeper
Posts: 8623
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only way I can think of that you can make this shorter is
 
Sheriff
Posts: 23451
46
Eclipse IDE Firefox Browser MySQL Database
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't that

?
 
Miran Cvenkel
Ranch Hand
Posts: 212
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that is indeed shorter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!