IT Blog

  • Blog
  • Technology
    • Technology
    • Architecture
    • CMS
    • CRM
    • Web
    • DotNET
    • Python
    • Database
    • BI
    • Program Language
  • Users
    • Login
    • Register
    • Forgot Password?
  • ENEN
    • 中文中文
    • ENEN
Experience IT
In a World of Technology, People Make the Difference.
  1. Home
  2. Technology
  3. DevOps
  4. Scientific format problem

Scientific format problem

2019-03-05 754 Views 0 Like 0 Comments

Table of Contents

  • Symptom
  • Investigation
  • Fix

Symptom

A report running normally for a while, all the sudden yearly report went wrong as shown on the following figure.

Investigation

The exception has thrown from web api.

The cause is scientific format number conversion. We know when the float number is too small, e.g. 0.00001, it will be output as scientific format. However large number seems not be output as scientific format, but somehow it happened.

Fix

To fix this issue, I cast the float into decimal to avoid scientific format output.

 1,631 total views,  4 views today

error
fb-share-icon
Tweet
fb-share-icon
IT Team
Author: IT Team

Tags: None
Last updated:2019-03-05

IT Team

This person is lazy and left nothing

Like
Next >

Comments

Cancel reply
Chinese (Simplified) Chinese (Simplified) Chinese (Traditional) Chinese (Traditional) English English French French German German Japanese Japanese Korean Korean Russian Russian
Newest Hotspots Random
Newest Hotspots Random
All Unicode Chars How to keep and display contact form 7 data Common Regular Expressions How to block bad bots in Appache server Add ALT attribute to Social Media Icon Change Event Calendar Title
Domain redirection Accessing private fields in C# WordPress Data Model Checks if the remote file exists WP Plugin "User Specific Content" review Controling Category List on Sidebar Widget
Categories
  • Architecture
  • BI
  • C#
  • CSS
  • Database
  • DotNET
  • Hosting
  • HTML
  • JavaScript
  • PHP
  • Program Language
  • Python
  • Security
  • SEO
  • Technology
  • Web
  • Wordpress

COPYRIGHT © 2021 Hostlike IT Blog. All rights reserved.

This site is supported by Hostlike.com