Categories
VB.NET

US Dollar To Philippine Peso Converter in Visual Basic.NET

Here is a simple program that I wrote using Microsoft Visual Basic NET to ask the user to give an amount in US Dollars and then it will convert into Philippine Peso equivalent. Let us assume that one US Dollar is equivalent to Php 45.50 in Philippine Pesos. The code is very easy to understand I started learning Visual Basic NET in my spare time.
Add me at Facebook my address is [email protected] and [email protected]
My email address are the following [email protected] and [email protected]
My mobile number here in the Philippines is 09173084360.

Program Listing

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim compute_peso As Double
        compute_peso = (Val(TextBox1.Text) * 45.5)
        Label3.Text = "The Philippine Peso Rate is Php " & Format(compute_peso, "0.00")
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        TextBox1.Text = ""
        Label3.Text = ""
        TextBox1.Focus()
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        Dim result As DialogResult = MessageBox.Show("Do you want to quit?", _
                               "Quit Program", _
                               MessageBoxButtons.YesNo)

        If (result = DialogResult.Yes) Then
            End
        Else
            TextBox1.Text = ""
            Label3.Text = ""
            TextBox1.Focus()
        End If
    End Sub
End Class
Categories
PHP

US Dollar to Philippine Peso in PHP

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value using PHP programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

<html>
  <head> 
   <title>US Dollar to Philippine Peso in PHP </title>
  </head>
  <body> 
      <style type="text/css">
      
      body {
        font-family: arial;
            size: 12px;
      };

        </style>
    <?php
 
     $us_dollar = $_POST['us_dollar'];

  
   if(isset($_POST['submit'])) {
                  
      $phil_peso = ($us_dollar * 48.15);

      $results ="The Philippine Peso
       equivalent of $us_dollar US Dollar is PHP ".number_format($phil_peso,2);
    }

 if(isset($_POST['clear'])) {
      $us_dollar = "";
      $results = "";
    }
?>

  <h2> US Dollar to Philippine Peso in PHP </h2>
  <p> Mr. Jake Rodriguez Pomperada,MAED-IT, MIT </p>
<form method="post">
   <p>Give US Dollar <input 
    type="numeric" name="us_dollar"
     value="<?php echo $us_dollar; ?>" autofocus required /></p>
      
<input type="submit" name="submit" 
   title="Click here to compute the Philippine Peso value. "
   value="Submit" />
   
    &nbsp;&nbsp;&nbsp;
    <input type="submit" name="clear" 
    title="Click here to clear the textbox."
    value="Clear" />
</form>

<?php
   echo $results;
?>
</body>
</html>
Categories
C#

US Dollar To Philippine Peso in C#

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value using C# programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            double compute=0.00;

            if (textBox1.Text == "")
            {

                MessageBox.Show("Cannot Be Empty. Try Again");
                textBox1.Focus();
            }
            else
            {

                compute = Convert.ToDouble(textBox1.Text) * 48.62;
                textBox2.Text = compute.ToString("PHP 00.00");
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text = "";
  
            textBox2.Text = "";

            textBox1.Focus();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
Categories
Visual FoxPro

US Dollar To Philippine Peso in Visual FoxPro

  I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value using Visual Foxpro

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

Compute Button

result = ROUND(VAL(thisform.text1.Value) * 48.03,2)

thisform.text2.value = result


Clear Button

thisform.text1.value = ""
thisform.text2.value = ""
thisform.text1.SetFocus

Quit Button

thisform.Release
Categories
VB6

US Dollar To Philippine Peso in Visual Basic 6

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

Private Sub Command1_Click()
Dim compute As Double
Dim Philippine_Peso As Double

Philippine_Peso = 48.07

compute = Val(Text1.Text) * Philippine_Peso

Text2.Text = "Php " + Trim(Format$(compute, "#####,#####.##"))
End Sub

Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub

Private Sub Command3_Click()
End
End Sub
Categories
Java

US Dollar to Philippine Peso in Java

 Machine Problem in Java

  Write a program that will ask for the user to input a certain amount in US Dollar and it will give you its equivalent amount into Philippine Peso.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

import java.util.Scanner;
import java.text.DecimalFormat;

/**
 * Machine Problem in Java
 * 
 * Write a program that will ask for the user to input a certain amount in US Dollar
 * and it will give you its equivalent amount into Philippine Peso.
 * 
 * @author Jake Rodriguez Pomperada, MAED-IT, MIT
 * [email protected]
 * www.jakerpomperada.com
 * Bacolod City, Negros Occidental
 * January 6, 2020 Wednesday
 */
public class USDollar_Philippine_Peso {
	
	 private static DecimalFormat df2 = new DecimalFormat("#.##");

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		    double ustopeso = 48.04;
	        double us=0.00;
	        
	        Scanner reader = new Scanner(System.in);
	        System.out.println("\n");
		    System.out.print("\t\tUS Dollar to Philippine Peso in Java");
		    System.out.println("\n");
		    
		    System.out.print("\tGive amount in US Dollar : ");
	        us = reader.nextDouble();
	        double amountinpeso = us*ustopeso;
	        
	        System.out.print("\n");
	        System.out.println("\tThe value in Philippine Peso is PHP " +df2.format(amountinpeso));
	        System.out.print("\n");
			System.out.println("\tEnd of Program");
	        System.out.println("\n\n");

        reader.close();
	}

}