Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が作成したものは次のとおりで、 $CaRate をエコーすると期待値が得られますが、セルに入れてもpdfが生成されません。
setlocale(LC_MONETARY, 'en_US'); $CaRate = money_format('%(#5n', $data[0]['data']['CarrierRate']) . "\n"; $pdf->Cell(30,8, $CaRate ,0,0,'L');
$pdf->Cell(22,6,sprintf('%.2f',$BAmt),'B',0,'R',0);
詳細: https://www.experts-exchange.com/questions/24696443/I-need-to-know-how-to-format-currency-using-PHP-and-the-FPDF-library.html