Menu

Truncating of numerical fields

Help
2017-12-21
2017-12-21
  • Jason Raikes

    Jason Raikes - 2017-12-21

    I am using UCanAccess v4.0.2. I have a view in the Access database where one of the fields is double datatype. However, when I access the data through UCanAccess, the numbers are rounded down. Any clues would be welcome please.

     
  • Gord Thompson

    Gord Thompson - 2017-12-21

    You'll need to be more specific. Please provide a Minimum, Complete, and Verifiable example. The simplest test case works for me:

    UCanAccess>SELECT * FROM dblTable;
    -------------------
    | id | txt | dbl |
    -------------------
    
    | 1 | pi | 3.141592653589793 |
    
    UCanAccess>SELECT * FROM dblView;
    -------------------
    | ID | TXT | DBL |
    -------------------
    
    | 1 | pi | 3.141592653589793 |
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.