Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on StumbleUponShare this topic on TwitterShare this topic on GoogleShare this topic on Yahoo

Author Topic: format angka  (Read 172 times)

0 Members and 1 Guest are viewing this topic.

Offline cantika

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
format angka
« on: March 30, 2010, 12:57:04 PM »
maaf nich... nanya lagi..
say di database pakai number, tapi pingin report dengan perintah under dos bagaimana ya supaya setiap ribuan dikasih koma..?

contoh
@prow say "Bayar  :  Rp." + str(xbayar)

contoh hasilnya  Rp.1000
bagaimana caranya supaya hasilnya Rp.1.000,00 (ada titik atau koma)..?
makasih

Offline aris_ah

  • Junior Member
  • *
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 210
    • http://www.indosmartsys.com
Re: format angka
« Reply #1 on: March 30, 2010, 01:28:14 PM »
bisa dicoba

@PROW()+1,xkolom SAY '     Rp. '+trans(rupiah,'999,999.99')

 :thumbsup: