Java tutorial
//package com.java2s; //License from project: Open Source License import javax.swing.SpinnerNumberModel; public class Main { public static double getDouble(SpinnerNumberModel model) { return (double) model.getValue(); } }