h31ix

Untitled

Jan 10th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public boolean isDouble(String i, Player player)
  2. {
  3. try
  4. {
  5. Double.parseDouble(i);
  6. return true;
  7. }
  8. catch(Exception ex)
  9. {
  10. System.out.println(player.getName()+" tried to pay a String.");
  11. return false;
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment