OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | List of all members
nwtc_io::num2lstr Interface Reference

This function returns a left-adjusted string representing the passed numeric value. More...

Public Member Functions

character(11) function int2lstr (Intgr)
 
character(15) function r2lstr4 (FltNum)
 
character(15) function r2lstr8 (FltNum)
 
character(15) function r2lstr16 (FltNum)
 
character(11) function int2lstr (Num)
 This function returns a left-adjusted string representing the passed numeric value. More...
 
character(15) function r2lstr4 (Num, Fmt_in)
 This function returns a left-adjusted string representing the passed numeric value. More...
 
character(15) function r2lstr8 (Num, Fmt_in)
 This function returns a left-adjusted string representing the passed numeric value. More...
 
character(15) function r2lstr16 (Num, Fmt_in)
 This function returns a left-adjusted string representing the passed numeric value. More...
 

Detailed Description

This function returns a left-adjusted string representing the passed numeric value.

It eliminates trailing zeroes and even the decimal point if it is not a fraction.
Use Num2LStr (nwtc_io::num2lstr) instead of directly calling a specific routine in the generic interface.

Returns
string representing input number.
Parameters
[in]numThe number to convert to a left-justified string.

Member Function/Subroutine Documentation

◆ int2lstr()

character(11) function nwtc_io::num2lstr::int2lstr ( integer, intent(in)  Num)

This function returns a left-adjusted string representing the passed numeric value.

It eliminates trailing zeroes and even the decimal point if it is not a fraction.
Use Num2LStr (nwtc_io::num2lstr) instead of directly calling a specific routine in the generic interface.

Returns
string representing input number.
Parameters
[in]numThe number to convert to a left-justified string.

◆ r2lstr16()

character(15) function nwtc_io::num2lstr::r2lstr16 ( real(quki), intent(in)  Num,
character(*), optional  Fmt_in 
)

This function returns a left-adjusted string representing the passed numeric value.

It eliminates trailing zeroes and even the decimal point if it is not a fraction.
Use Num2LStr (nwtc_io::num2lstr) instead of directly calling a specific routine in the generic interface.

Returns
string representing input number.
Parameters
[in]numThe number to convert to a left-justified string.

◆ r2lstr4()

character(15) function nwtc_io::num2lstr::r2lstr4 ( real(siki), intent(in)  Num,
character(*), optional  Fmt_in 
)

This function returns a left-adjusted string representing the passed numeric value.

It eliminates trailing zeroes and even the decimal point if it is not a fraction.
Use Num2LStr (nwtc_io::num2lstr) instead of directly calling a specific routine in the generic interface.

Returns
string representing input number.
Parameters
[in]numThe number to convert to a left-justified string.

◆ r2lstr8()

character(15) function nwtc_io::num2lstr::r2lstr8 ( real(r8ki), intent(in)  Num,
character(*), optional  Fmt_in 
)

This function returns a left-adjusted string representing the passed numeric value.

It eliminates trailing zeroes and even the decimal point if it is not a fraction.
Use Num2LStr (nwtc_io::num2lstr) instead of directly calling a specific routine in the generic interface.

Returns
string representing input number.
Parameters
[in]numThe number to convert to a left-justified string.

The documentation for this interface was generated from the following files: