Java Money Convert money2str(String money)

Here you can find the source of money2str(String money)

Description

moneystr

License

Apache License

Declaration

public static String money2str(String money) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String money2str(String money) {
        try {/* w w  w. j  av a 2 s .c o m*/
            return (Double.parseDouble(money) * 100.0D) + "";
        } catch (Exception e) {
            System.err.println(e);
        }
        return money;
    }
}

Related

  1. money2int(long value)
  2. money2String(double money)