Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.widget.TextView;

public class Main {
    private static void setPrice(TextView text, Double amount) {
        int i = amount.intValue();
        text.setText("$" + i);
    }
}