发布网友 发布时间:2022-04-29 16:34
共1个回答
热心网友 时间:2023-10-20 00:16
=IF($A1<0,"负","")&IF($A1="","",TEXT(INT(ABS($A1)),"[DBNum2][$-804]G/通用格式")&"圆")追问这个刚刚试过了,如果我的数额有小数点就不对了啊,因为这个只显示整数不显示小数啊追答截止到“分”,不舍入:
=IF($A1<0,"负","")&IF($A1="","",TEXT(INT(ABS($A1)),"[DBNum2][$-804]G/通用格式")&"圆")&IF($A1="","",TEXT(LEFT(TEXT(INT(ABS($A1)*100)-INT(ABS($A1))*100,"00")),"[DBNum2][$-804]G/通用格式")&"角"&TEXT(RIGHT(TEXT(INT(ABS($A1)*100)-INT(ABS($A1))*100,"00")),"[DBNum2][$-804]G/通用格式")&"分")
热心网友 时间:2023-10-20 00:16
=IF($A1<0,"负","")&IF($A1="","",TEXT(INT(ABS($A1)),"[DBNum2][$-804]G/通用格式")&"圆")追问这个刚刚试过了,如果我的数额有小数点就不对了啊,因为这个只显示整数不显示小数啊追答截止到“分”,不舍入:
=IF($A1<0,"负","")&IF($A1="","",TEXT(INT(ABS($A1)),"[DBNum2][$-804]G/通用格式")&"圆")&IF($A1="","",TEXT(LEFT(TEXT(INT(ABS($A1)*100)-INT(ABS($A1))*100,"00")),"[DBNum2][$-804]G/通用格式")&"角"&TEXT(RIGHT(TEXT(INT(ABS($A1)*100)-INT(ABS($A1))*100,"00")),"[DBNum2][$-804]G/通用格式")&"分")