浮点型demo: if(/^\d+(\.\d+)?$/.test(...
Swift开发教程 一.Swift基础 Swift教程01-使用switf...
http://www.imooc.com/learn/504 http://edu.csdn.n...