Resource Center

Videos and Tutorials

The second video in the CRBasic Custom Outputs video series

CRBasic Custom Outputs: Text Strings with Sprintf

Video thumbnail

Overview

In this video, we move beyond formatting a single number with FormatFloat and learn how to use Sprintf (“string print formatted”) to build complete text strings from multiple values in CRBasic. You’ll see how Sprintf works like a template—mixing plain text with format codes to generate clean output in a single line of code.

Connect With Us

envelope icon
Phone Numbers
General: (435) 227-9000
location icon
Corporate Address
815 W 1800 N
Logan, UT 84321
send icon
Email Address
sales@campbellsci.com

As a trusted leader in measurement systems for more than 50 years, our top priority at Campbell Scientific has always been to provide the most accurate, reliable data for research and industry.