Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is following format function do in VB:

.optRelative(0).Tag = Format(dX * 25.4, "0.0####")
how to do in C++ or in mfc?

What I have tried:

.optRelative(0).Tag = Format(dX * 25.4, "0.0####")
Posted
Updated 27-Jun-17 6:26am
Comments
Patrice T 27-Jun-17 18:52pm    
Can't search and read documentation ?

1 solution

Format Function[^]. In C you could use the sprintf_s function, also described in MSDN.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900