Solved isDouble for signs.

Discussion in 'Plugin Development' started by danichef, Apr 2, 2017.

Thread Status:
Not open for further replies.
  1. Hi, Now I'm adding more features to a plugin but its doesen't allow me to get a isDouble. It tells me "The method isDouble(String) is undefined for the type Signs". I really need it to be a isDouble so it maches the rest from the code.
      public void onSignChange(SignChangeEvent e) {
          if (isDouble(e.getLine(2))) {
  2. Offline


    Why not just do Double.parseDouble?

    Sent from my Moto G (4) using Tapatalk
  3. @N00BHUN73R Cause it also gives me an error: "Type mismatch: cannot convert from double to boolean"
  4. Offline

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page