• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can someone explain this code?  RSS feed

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


This is an inputfilter which allows 5 numbers before and after a dot.
I understand pretty much everything except for:
-where it says that there can only be 1 dot to be set.
- what source.toString() means in
 
Master Rancher
Posts: 2588
30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what source.toString() means


That code calls the toString() method for the class that source is an instance of.  The API doc says it returns a String.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!