Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Converting numbers to strings


1 reply to this topic

Eleanor

Eleanor
  • Members
  • 1 posts

Posted 07 May 2004 - 15:48

Hi

I'm trying to figure out how to turn a number variable into a string.

I need to do this as I want to write a message onto a dialog telling the user the size of the product they are about to install. I've got the size (in bytes - would prefer mb) from "ComponentTotalSize" and want to pass a string to "SdSetupTypeEx" along the lines of "Total size of Book Fred is ???mb". Ideally I'd like to put this in the Description area of the dialog, to match a full install option, however I can happily live with having it in the main text at the top of the window.

Any help gratefully received!!

Thanks
Eleanor


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 May 2004 - 21:43

Take a look at the Sprintf function