UsingFloatPoint

使用軟體: Visual c# 2008 Express

--------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
class UsingFloatPoint
{
static void Main(string[] args)
{
double x = 123.45;
float y = 123.45f;
Console.WriteLine("x:" + x);
Console.WriteLine("y:" + y);
Console.ReadLine();
}
}
}

0 意見: