double getNumber(string name)

Get number from number editbox in toolbar with given name. Returns 0 if the number editbox does not exist.