Java tutorial
//package com.java2s; public class Main { public static boolean isContainsPoint(String number) { return number.contains(".") ? true : false; } }