Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Examples: @Text

  1. This example returns 123.45.
  2. @Text(123.45)
  3. This example returns $800.00 if the value in the Sales field is 800.
  4. @Text(Sales;"C,2")
  5. This example returns 8.00E+02.
  6. @Text(800;"S")
  7. This example returns 8.00E+02 and -6.00E+02 in a list.
  8. @Text(800 : (-600);"S")
  9. This example returns 04/11/93 10:43 AM.
  10. @Text(@Now)
  11. This example returns 04/11.
  12. @Text(@Now;"D1S0")
  13. This example returns 10:43:30 AM.
  14. @Text(@Now;"D1S1")
  15. This example returns 04/93 10:43 AM.
  16. @Text(@Now;"D3T1")
  17. This example returns the rich-text Body field stripped of attachments and formatting.
  18. @Text(Body)
  19. To convert a number date (in the ShipDate field) into a written date, you can use the following code. If ShipDate contains [08/31/2002], the result is "August 31, 2002."
  20. @If( @IsTime(ShipDate); 
    @Text(@Select(@Month(ShipDate); "January"; "February"; "March"; "April"; "May"; "June"; "July"; "August"; "September"; "October"; "November";  "December"))  + " " +
    @Text(@Day(ShipDate)) + ", " + @Text(@Year(ShipDate));
     "No date given")

Related topics
@Text




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009