使用軟體: 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();
}
}
}
UsingFloatPoint
標籤: C#
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言