|
|
|
|
Leader / 2002-02-27 / ¿ÀÈÄ 4:11:22 / 211.189.136.10
Á¶È¸¼ö : 142
|
[Áú¹®] FormatCurrency() Áú¹®ÀÔ´Ï´Ù.x); |
> ¿¬Ã¼·á ¹× ÇÒÀηáµî Åëȸ¦ ¾Ë·Á°í formatcurrency()ÇÔ¼ö¸¦ ÀÌ¿ëÇß½À´Ï´Ù.
>
> function cvtCurrency(return_v)
> cvtCurrency = right(formatcurrency(return_v), len(formatcurrency(return_v))-1)
> end function
> .....
>
> Ãâ·ÂÀº
> <td height="44" bgcolor="#EEF1E2" width="89" >
> <%=cvtCurrency(Rs(6))%>¿ø</td>
> ÀÌ·¸°Ô 200,498¿ø Àß Ãâ·ÂÀÌ µÇ´Âµ¥¿ä.
> ±×·±µ¥ ÇÑ °¡Áö 0¿ø(Áï µ·ÀÌ ¾ø´Â °æ¿ì) °°Àº °æ¿ì¿¡´Â
> "¿ø" °ª¸¸ Ãâ·ÂÀÌ µÇ³×¿ä.
> ÀÌ°ÍÀ» 0¿øÀ¸·Î ¸¸µé·Á¸é ¾î¶»°Ô ÇØ¾ß Çϳª¿ä.
> ´äº¯ Á» ºÎŹµå¸³´Ï´Ù.
>
-----------------------------------------------------------
function cvtCurrency(return_v)
cvtCurrency = right(formatcurrency(return_v), len(formatcurrency(return_v))-1)
end function
ÀÌ°Å ´ë½Å...
<%FormatNumber(Rs(6),0)%>
ÀÌ°É ½áº¸½ÃÁÒ??
±×¸®°í... Á¶°ÇÀ» °É¾îÁ༿©...
if IsNull(Rs(6)) = true then
VRs6=0
else
VRs6=FormatNumber(Rs(6),0)
end
<%=VRs6%>
¤Ñ¤Ñ¤» ÀÌ·¸°Ô ¾²½É ¾È´ë³ª¿©..? ¤Ñ¤Ñ;;; |
|
|