Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static float parseFloat(String number) {
        float num = 0;
        try {
            num = Float.parseFloat(number);
        } catch (Exception e) {
            // TODO: handle exception
        }
        return num;
    }
}