• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP format_angka函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中format_angka函数的典型用法代码示例。如果您正苦于以下问题:PHP format_angka函数的具体用法?PHP format_angka怎么用?PHP format_angka使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了format_angka函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: format_angka

    ?>
  <tr>
    <td> <?php 
    echo $nomor;
    ?>
 </td>
    <td> <?php 
    echo $myData['kd_obat'];
    ?>
 </td>
    <td> <?php 
    echo $myData['nm_obat'];
    ?>
 </td>
    <td align="right"><?php 
    echo format_angka($myData['harga_jual']);
    ?>
</td>
    <td align="right"> <?php 
    echo $myData['stok'];
    ?>
 </td>
    <td><?php 
    echo $myData['keterangan'];
    ?>
</td>
  </tr>
  <?php 
}
?>
  <tr>
开发者ID:class2si,项目名称:project,代码行数:31,代码来源:laporan_obat.php


示例2: mysql_query

         //$SQL = "SELECT * FROM barang WHERE nm_barang like '$searchTerm'  ORDER BY $sidx $sord";
         $SQL = "SELECT\n\t\t\t\t\t\t\t\t\t*\n\t\t\t\t\t\t\t\tFROM\n\t\t\t\t\t\t\t\t\tjasa j,\n\t\t\t\t\t\t\t\t\tbahanbaku b\n\t\t\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\t\t\tj.kd_bahan = b.kd_bahan\n\t\t\t\t\t\t\t\tAND j.nama_jasa LIKE '{$searchTerm}'\n\t\t\t\t\t\t\t\tORDER BY\n\t\t\t\t\t\t\t\t\t'{$sidx}' '{$sord}'";
     }
     //var_dump($SQL);exit();
     $result = mysql_query($SQL) or die("Couldn t execute query." . mysql_error());
     //var_dump($result);exit();
     $response->page = $page;
     $response->total = $total_pages;
     $response->records = $count;
     $i = 0;
     while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
         $response->rows[$i]['kd_jasa'] = $row['kd_jasa'];
         $response->rows[$i]['nama_jasa'] = $row['nama_jasa'];
         $response->rows[$i]['kd_bahan'] = $row['kd_bahan'];
         $response->rows[$i]['nm_bahan'] = $row['nm_bahan'];
         format_angka($response->rows[$i]['harga_jasa'] = $row['harga_jasa']);
         $response->rows[$i]['harga_bahan'] = $row['harga_bahan'];
         $response->rows[$i]['diskon'] = $row['diskon'];
         $response->rows[$i]['ppn'] = $row['ppn'];
         $response->rows[$i]['diskon'] = $row['diskon'];
         $i++;
     }
     echo json_encode($response);
     break;
 case 'transBeli':
     $page = $_GET['page'];
     // get the requested page
     $limit = $_GET['rows'];
     // get how many rows we want to have into the grid
     $sidx = $_GET['sidx'];
     // get index row - i.e. user click to sort
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pAjax.php


示例3: format_angka

    ?>
</td>
    <td align="right"><?php 
    echo $my2Data['total_barang'];
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($totalBayar);
    ?>
</td>
    <td>&nbsp;</td>
  </tr>
  <?php 
}
?>
  <tr>
    <td colspan="5" align="right"><strong> TOTAL : </strong></td>
    <td align="right"> <strong><?php 
echo format_angka($totItemBarang);
?>
</strong> </td>
    <td align="right"> <strong> Rp. <?php 
echo format_angka($totOmset);
?>
 </strong> </td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
开发者ID:gumilarb,项目名称:presentasi,代码行数:30,代码来源:laporan_pemesanan_lunas_tanggal.php


示例4: format_angka

      <tr>
        <td colspan="3"><strong>DETAIL BARANG </strong></td>
        </tr>
      <tr>
        <td width="23%"><strong>Nama </strong></td>
        <td width="1%">:</td>
        <td width="76%"> <?php 
echo $lihatData['nm_barang'];
?>
 </td>
      </tr>
      <tr>
        <td><strong>Harga (Rp.)</strong></td>
        <td>:</td>
        <td> <?php 
echo format_angka($lihatData['harga_jual']);
?>
 </td>
      </tr>
      <tr>
        <td><strong>Stok</strong></td>
        <td>:</td>
        <td> <?php 
echo $lihatData['stok'];
?>
 </td>
      </tr>
      <tr>
        <td><strong>Kategori </strong></td>
        <td>:</td>
        <td> <?php 
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:barang_lihat.php


示例5: format_angka

    echo $myData['kelas'];
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($myData['uang_bayar']);
    ?>
</td>
   
  </tr>
  <?php 
}
?>
  <tr>
    <td colspan="7" align="right" bgcolor="#F5F5F5"><strong>GRAND TOTAL : </strong></td>
    <td align="right" bgcolor="#F5F5F5"><b><?php 
echo format_angka($jumlahbarang);
?>
</b></td>
   
  </tr>
  <tr>
    <td colspan="8"><strong>Jumlah Data :<?php 
echo $jumData;
?>
</strong></td>
    <td colspan="2" align="right"><strong></strong></td>
  </tr>
</table>
<p>&nbsp;</p>
</div>
</div>
开发者ID:Hendry21,项目名称:SPP,代码行数:31,代码来源:simpanbyrxls.php


示例6: format_angka

    if ($barangData['file_gambar'] == "") {
        $fileGambar = "noimage.jpg";
    } else {
        $fileGambar = $barangData['file_gambar'];
    }
    ?>
    <tr>
      <td width="24%"><a href="?open=Barang-Lihat&Kode=<?php 
    echo $KodeBarang;
    ?>
"><img src="img-barang/<?php 
    echo $fileGambar;
    ?>
" width="100" border="0"> </a> <br>
      <div class='harga'>Rp. <?php 
    echo format_angka($barangData['harga_jual']);
    ?>
 </div><br>
    <a href="?open=Barang-Beli&Kode=<?php 
    echo $KodeBarang;
    ?>
" class="button orange small"> <strong>Beli</strong></a> </td>
    <td width="76%">
	  <a href="?open=Barang-Lihat&Kode=<?php 
    echo $KodeBarang;
    ?>
">
      <div class='judul'> <?php 
    echo $barangData['nm_barang'];
    ?>
 </div>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:barang.php


示例7: format_angka

    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
	<?php 
}
?>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td colspan="2"><b>GRAND TOTAL   : </b></td>
      <td bgcolor="#CCCCCC"><strong><?php 
echo "Rp. " . format_angka($grandTotal);
?>
</strong></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td><input name="btnSimpan" type="submit" value=" Ubah Data"></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="6" align="center"><a href="?open=Transaksi-Proses" target="_self"><img src="images/btn_lanjutkan.jpg" alt="Lanjutkan Transaksi (Checkout)" border="0"></a></td>
    </tr>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:keranjang_belanja.php


示例8: format_angka

</td>
    <td  align="center" bordercolor="#000000"><?php 
    echo $myData['nama_jenis'];
    echo $myData['ukuran'];
    ?>
</td>
    <td  align="center" bordercolor="#000000"><?php 
    echo format_angka($myData['harga_beli']);
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($myData['harga_jual']);
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($myData['stok']);
    ?>
</td>
    <td align="center"><a href="?open=Barang-Edit&amp;Kode=<?php 
    echo $myData['kd_barang'];
    ?>
" target="_self" alt="Edit Data">Edit</a></td>
    <td align="center"><a href="?open=Barang-Delete&amp;Kode=<?php 
    echo $myData['kd_barang'];
    ?>
" target="_self" alt="Delete Data" onclick="return confirm('ANDA YAKIN AKAN MENGHAPUS DATA BARANG INI ... ?')">Delete</a></td>
  </tr>
  <?php 
}
?>
  <tr  >
开发者ID:Hendry21,项目名称:PJLoptik,代码行数:31,代码来源:barang_data.php


示例9: while

$nomor = 0;
while ($myData = mysql_fetch_array($myQry)) {
    $nomor++;
    $Kode = $myData['kd_provinsi'];
    ?>
    <tr>
      <td><?php 
    echo $nomor;
    ?>
</td>
      <td><?php 
    echo $myData['nm_provinsi'];
    ?>
</td>
      <td><?php 
    echo format_angka($myData['biaya_kirim']);
    ?>
</td>
      <td width="54"><a href="?open=Provinsi-Edit&Kode=<?php 
    echo $Kode;
    ?>
" target="_self">Edit</a></td>
      <td width="50"><a href="?open=Provinsi-Delete&Kode=<?php 
    echo $Kode;
    ?>
" target="_self" onClick="return confirm('ANDA YAKIN AKAN MENGHAPUS DATA PROVINSI INI ...?')">Delete</a></td>
    </tr>
    <?php 
}
?>
  </tbody>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:provinsi_data.php


示例10: IndonesiaTgl

    ?>
</td> 
    <td><?php 
    echo IndonesiaTgl($myData['tanggal']);
    ?>
</td>
    <td><?php 
    echo $myData['no_pemesanan'];
    ?>
</td>
    <td><?php 
    echo $myData['nm_pelanggan'];
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($myData['jumlah_transfer']);
    ?>
</td>
    <td><?php 
    echo $myData['keterangan'];
    ?>
</td>
    <td width="39" align="center"><a href="?open=Konfirmasi-Delete&Kode=<?php 
    echo $Kode;
    ?>
" target="_self" alt="Delete Data" onclick="return confirm('ANDA YAKIN AKAN MENGHAPUS DATA KONFIRMASI INI ... ?')">Delete</a></td>
  </tr>
  <?php 
}
?>
  <tr>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:konfirmasi_transfer.php


示例11: format_angka

?>
</td>
      
  </tr>
  
  <tr>
    <td colspan="2"   align="right" bgcolor="#F5F5F5"><strong>Grand Total Uang Masuk</strong></td>
    <td colspan="2"   align="left" bgcolor="#F5F5F5"><b>: Rp. <?php 
echo format_angka($jumlahbarang);
?>
</b></td>
  </tr>
  <tr>
    <td colspan="2"   align="right" bgcolor="#F5F5F5"><strong>Grand Total Uang Belum Masuk</strong></td>
    <td colspan="2"   align="left" bgcolor="#F5F5F5"><b>: Rp. <?php 
echo format_angka($htg);
?>
</b></td>
  </tr>
  
  
</table>
<form action="laporan_bayar_periode.php" method="post" name="form1" target="_blank" id="form1">
  <table width="397" border="0"  >
    <tr>
      <td width="391"><input name="txtTglAwal" type="hidden" class="tcal" value="<?php 
echo $tglAwal;
?>
" />
          <input name="txtTglAkhir" type="hidden" class="tcal" value="<?php 
echo $tglAkhir;
开发者ID:Hendry21,项目名称:SPP,代码行数:31,代码来源:laporan_bayar_periode11.php


示例12: mysql_query

    <td width="547" bgcolor="#CCCCCC"><strong>Nama Tindakan </strong></td>
    <td width="112" align="right" bgcolor="#CCCCCC"><strong>Harga (Rp.) </strong></td>
  </tr>
  <?php 
// Menampilkan daftar tindakan
$mySql = "SELECT * FROM tindakan ORDER BY kd_tindakan ASC";
$myQry = mysql_query($mySql, $koneksidb) or die("Query 1 salah : " . mysql_error());
$nomor = 0;
while ($myData = mysql_fetch_array($myQry)) {
    $nomor++;
    ?>
  <tr>
    <td><?php 
    echo $nomor;
    ?>
</td>
    <td><?php 
    echo $myData['nm_tindakan'];
    ?>
</td>
    <td align="right"><?php 
    echo format_angka($myData['harga']);
    ?>
</td>
  </tr>
  <?php 
}
?>
</table>
</div></div>
开发者ID:class2si,项目名称:project,代码行数:30,代码来源:laporan_tindakan.php


示例13: IndonesiaTgl

    ?>
 </td>
	<td> <?php 
    echo IndonesiaTgl($myData['tgl_pemesanan']);
    ?>
 </td>
	<td> <?php 
    echo $myData['nama_penerima'];
    ?>
 </td>
	<td> Rp. <?php 
    echo format_angka($totalHarga);
    ?>
 </td>
	<td> Rp. <?php 
    echo format_angka($biayaKirim);
    ?>
 </td>
	<td> <?php 
    echo $myData['status_bayar'];
    ?>
 </td>
    <td><a href="transaksi_lihat.php?Kode=<?php 
    echo $Kode;
    ?>
" target="_blank" alt="Lihat Data">Cetak</a></td>
  </tr>
<?php 
}
?>
</table>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:transaksi_tampil.php


示例14: format_angka

</td>
		<td><?php 
    echo $tmpData['nm_tindakan'];
    ?>
</td>
		<td><?php 
    echo $tmpData['nm_dokter'];
    ?>
</td>
		<td align="right"><?php 
    echo format_angka($tmpData['harga']);
    ?>
</td>
		<td><a href="?Aksi=Hapus&id=<?php 
    echo $tmpData['id'];
    ?>
" target="_self">Delete</a></td>
	  </tr>
    <?php 
}
?>
    <tr>
      <td colspan="4" align="right"><b> GRAND TOTAL  : </b></td>
      <td align="right" bgcolor="#CCCCCC"><strong>Rp. <?php 
echo format_angka($totalHarga);
?>
</strong></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
开发者ID:class2si,项目名称:project,代码行数:31,代码来源:rawat_baru.php


示例15: format_angka

    ?>
  <tr>
    <td ><?php 
    echo $nomor;
    ?>
</td>
    <td><?php 
    echo $data['kode_jenis'];
    ?>
</td>
    <td align="left"><?php 
    echo $data['jns_bayar'];
    ?>
</td>
    <td><?php 
    echo format_angka($data['biaya']);
    ?>
</td>
    <td width="75" align="center"><a href="?page=editjenis&kode_jenis=<?php 
    echo $data['kode_jenis'];
    ?>
" target="_self" alt="Edit Data"></a><a href="?page=editjenis&kode_jenis=<?php 
    echo $data['kode_jenis'];
    ?>
"><i class="fa fa-edit"></i> Ubah</a></td>
    <td width="70" align="center"> <a href="?page=hapus_jenis&kode_jenis=<?php 
    echo $data['kode_jenis'];
    ?>
" onClick="return confirm('Apakah anda yakin ingin menghapus data ini ?')"role="button" data-toggle="modal"><i class="fa fa-trash-o"></i> Hapus</a></td>
   
  </tr>
开发者ID:Hendry21,项目名称:SPP,代码行数:31,代码来源:jns_bayar.php


示例16: Belanja

  <tr>
    <td colspan="3" align="right"><strong>Total Belanja (Rp) : </strong></td>
    <td colspan="2" align="right" bgcolor="#F5F5F5"><?php 
echo format_angka($totalBayar);
?>
</td>
  </tr>
  <tr>
    <td colspan="3" align="right"><strong> Uang Bayar (Rp) : </strong></td>
    <td colspan="2" align="right"><?php 
echo format_angka($kolomData['uang_bayar']);
?>
</td>
  </tr>
  <tr>
    <td colspan="3" align="right"><strong>Uang Kembali (Rp) : </strong></td>
    <td colspan="2" align="right"><?php 
echo format_angka($uangKembali);
?>
</td>
  </tr>
  <tr>
    <td colspan="5"><strong>Petugas :</strong> <?php 
echo $kolomData['nm_petugas'];
?>
</td>
  </tr>
</table>
</body>
</html>
开发者ID:class2si,项目名称:project,代码行数:30,代码来源:penjualan_nota.php


示例17: format_angka

</td>
      <td align="right"><?php 
    echo format_angka($subSotal);
    ?>
</td>
      <td><a href="?Aksi=Delete&Kode=<?php 
    echo $tmpData['kd_barang'];
    ?>
" target="_self">Delete</a></td>
    </tr>
<?php 
}
?>
    <tr>
      <td colspan="4" align="right" bgcolor="#F5F5F5"><strong>GRAND TOTAL : </strong></td>
      <td align="right" bgcolor="#F5F5F5"><b><?php 
echo $jumlahbarang;
?>
</b></td>
      <td align="right" bgcolor="#F5F5F5"><b><?php 
echo format_angka($totalBayar);
?>
</b></td>
      <td bgcolor="#F5F5F5"><input name="txtTotBayar" type="hidden" value="<?php 
echo $totalBayar;
?>
" /></td>
    </tr>
  </table>
</form>
开发者ID:Hendry21,项目名称:PJLoptik,代码行数:30,代码来源:penjualan_baru.php


示例18: format_angka

    echo $myData['periode_thn'];
    ?>
</td>
    <td><?php 
    echo $myData['ket'];
    ?>
</td>
  </tr>
  <?php 
}
?>
 <tr>
      <td colspan="5" align="right" bgcolor="#F5F5F5"><strong>GRAND TOTAL : </strong></td>
      <td bgcolor="#F5F5F5"> </td>
      <td align="right" bgcolor="#00CCCC"><b><?php 
echo format_angka($totalBayar);
?>
</b></td>
      <td align="right" bgcolor="#00FF33"><b><?php 
echo format_angka($jumlahbarang);
?>
</b></td>
      <td bgcolor="#FFA540" align="right"><b><?php 
echo format_angka($totalBiaya);
?>
</b></td>
      <td bgcolor="#F5F5F5"> </td>
      <td bgcolor="#F5F5F5"> </td>
  </tr>
</table>
开发者ID:Hendry21,项目名称:SPP,代码行数:30,代码来源:laporan_bayar_periode+asli.php


示例19: Belanja

  <tr>
    <td colspan="5" align="right" bgcolor="#F5F5F5"><strong>Total Belanja (Rp) : </strong></td>
    <td bgcolor="#F5F5F5"> Rp. <?php 
echo format_angka($totalHarga);
?>
 </td>
  </tr>
  <tr>
    <td colspan="5" align="right"><strong>Total Biaya Kirim  (Rp) : </strong></td>
    <td> Rp. <?php 
echo format_angka($totalBiayaKirim);
?>
 </td>
  </tr>
  <tr>
    <td colspan="5" align="right" bgcolor="#F5F5F5"><strong>TOTAL  (Rp) : </strong></td>
    <td bgcolor="#F5F5F5"> <?php 
echo format_angka($totalBayar);
?>
 </td>
  </tr>
  <tr>
    <td colspan="6">Nominal Pembayarannya adalah (Rp.) <b>Rp. <?php 
echo format_angka($unik_transfer);
?>
</b> </td>
  </tr>
</table>
</body>
</html>
开发者ID:gumilarb,项目名称:presentasi,代码行数:30,代码来源:transaksi_lihat.php


示例20: format_angka

    ?>
</td>
    <td><?php 
    echo $myData['kd_pelanggan'];
    ?>
</td>
    <td><?php 
    echo $myData['nm_pelanggan'];
    ?>
</td>
    <td><?php 
    echo $my2Data['total_barang'];
    ?>
</td>
    <td><?php 
    echo format_angka($unikTransfer);
    ?>
</td>
    <td bgcolor="#FFFFCC"><?php 
    echo $myData['status_bayar'];
    ?>
</td>
    <td><a href="pemesanan_lihat.php?Kode=<?php 
    echo $Kode;
    ?>
" target="_blank" class='button white small'>Lihat</a></td>
  </tr>
  <?php 
}
?>
</table>
开发者ID:gumilarb,项目名称:presentasi,代码行数:31,代码来源:laporan_pemesanan_periode.php



注:本文中的format_angka函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP format_article_enclosures函数代码示例发布时间:2022-05-15
下一篇:
PHP format_amount函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap