Re: 使用4520的除法
|
||||
---|---|---|---|---|
版主
|
C18 不支援浮點運算,而且 Printf( ) 也只有到 long 而已。
到這裡找一下看看: http://www.piclist.com/techref/microchip/math/basic.htm
發表於: 2007/11/12 17:00
|
|||
|
使用4520的除法
|
||||
---|---|---|---|---|
新會員
|
您好:
請問我要使一個數值(long 或unsigned long)做一連串加減乘除,再把他顯示到led上去,目前遇到兩個問題 第一個是我如何把數值作除法變float? 第二個是我知道可以把long用ltoa 把數值轉成string,在放到lcd上 但如何把float 弄成string呢? 謝謝
發表於: 2007/11/12 10:20
|
|||
|