NumberFormatException #1 Kotlin 替换字符串值

NumberFormatException #1 Kotlin Replace String value

错误代码

 java.lang.NumberFormatException: For input string: "44,379.3933"
        at java.lang.Integer.parseInt(Integer.java:615)
        at java.lang.Integer.parseInt(Integer.java:650)

这是用 Kotlin 编写的。我怎样才能删除“,”“。”和输入字符串中的“3933”?

val usdRate:String = (JSONObject(json).getJSONObject("bpi").getJSONObject("USD")["rate"]  as String)
val text = usdRate.replace("\"", ".");
val satosh = text.toInt() / 100000000

usdRate.replace(",", "")