如何使用getnumberformatex方法将vc ++中的数字国际化 [英] How to use getnumberformatex method to internationalisation an number in vc++

查看:103
本文介绍了如何使用getnumberformatex方法将vc ++中的数字国际化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在vc ++中将数字国际化。根据此链接 GetNumberFormat功能(Windows) [ ^我需要在Windows 7中使用GetNumberFormatEx()方法,但我没有看到任何使用它的示例。我是vc ++的新手,请告诉我热门使用它。



我尝试了什么:



我尝试过使用GetNumberFormatA()方法,但它为非英语域提供了垃圾值。

I need to internationalisation an number in vc++. As per this link GetNumberFormat function (Windows)[^] I need to use GetNumberFormatEx() method in windows 7, but I don't see any example to use it. Am new to vc++, Please tell me hot to use it.

What I have tried:

I have tried with GetNumberFormatA() method but it gives junk value for Non-English domain.

推荐答案

你已经在如何国际化(i18n)vc ++中的winforms数字 [ ^ ]并收到一些建议。请不要重新发布。
You already posted this at How to internationalisation (i18n) an number in vc++ for winforms[^] and received some suggestions. Please do not repost.


这篇关于如何使用getnumberformatex方法将vc ++中的数字国际化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆