Skip to content

Instantly share code, notes, and snippets.

@AstroDule
Last active April 21, 2019 21:47
Show Gist options
  • Save AstroDule/9611b470a927743706b19ad8267a2c38 to your computer and use it in GitHub Desktop.
Save AstroDule/9611b470a927743706b19ad8267a2c38 to your computer and use it in GitHub Desktop.
double returnValueDouble(String s, double defaultValue)
{
return s != null ? double.parse(s) : defaultValue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment