I'm using this example code:
Code: Select all
{string.Format("{0} pesos ({1}/100) MN", ToWordsEs((int)3091.50, false), (int)(3091.50 * 100)%100)}
viewtopic.php?f=8&t=4105&p=17826&hilit= ... sEs#p17826
But i cant get work with an XML datasource...
I have tried this way:
Code: Select all
{string.Format("{0} pesos ({1}/100) MN", ToWordsEs((int)cfdi_Comprobante._Total, false), (int)(cfdi_Comprobante._Total * 100)%100)}
Code: Select all
{string.Format("{0} pesos ({1}/100) MN", ToWordsEs((int){cfdi_Comprobante._Total}, false), (int)({cfdi_Comprobante._Total} * 100)%100)}
Im attaching a couple of images...
Thank you